VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Postcodes and manufacturers 31 Jan 2017 04:01 #1

  • Mclernons
  • Mclernons's Avatar Topic Author
  • Offline
  • Posts: 6
I've got code written to check post code entered and then to match to a manufacturer. I've got different manufacturers with different shipping costs to metro and rural regions. Quite a lot of the manufacturers will ship for the same rural fee, but everything else is different fees.

Name=Shipping on Shredders; 1000<=ZIP<1299 OR 2600<=ZIP<=2609 OR 2000<=ZIP<2234 OR 3000<=ZIP<=3207 OR 4000<=ZIP<=4207 OR 4300<=ZIP<=4305 OR 4500<=ZIP<=4519 OR 5000<=ZIP<=5199 OR 6000<=ZIP<=6199 OR 7000<=ZIP<=7099 OR 0800<=0832;
Condition=contains_any(manufacturers, 32, 6, 9, 1, 28, 27, 25, 22); Shipping=25;

Name=Rural shipping; 2610<=ZIP<2620 OR 2235<=ZIP<=2999; Condition=contains_any(manufacturers, 29, 3, 7, 4, 2, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 26, 32, 6, 9, 1, 28, 27, 25, 22); Shipping=55

Is what I'm using right now. If I have Rural shipping above shipping on shredders it will default to 55. Even if I use a post code that is not applying to the zip 2610 to 2620. I use 2603 and get 55 shipping.
If I put the shipping on shredders, everything will default to that if the manufacturer matches.
Joomla 3.6.5
Virtuemart 3.0.18
VP OPC postcodes are updating prices
I am using the advanced shipping rules.

Please Log in or Create an account to join the conversation.

[SOLVED] Postcodes and manufacturers 06 Feb 2017 03:14 #2

  • Mclernons
  • Mclernons's Avatar Topic Author
  • Offline
  • Posts: 6
Problem solved.

Please Log in or Create an account to join the conversation.

Postcodes and manufacturers 06 Feb 2017 03:15 #3

  • Mclernons
  • Mclernons's Avatar Topic Author
  • Offline
  • Posts: 6
Changed to using Zip in List fixed it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular