Login
Register

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!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

rule for shipping 15 Apr 2014 12:26 #1

  • marceff
  • marceff's Avatar Topic Author
I have zip code from 00100 to 00200 shipping price Euro 4, but for some of them I have to add Euro 10 more.
Which rule should I use to overide some of the codes included in the range 00100 to 00200?
Thanks (hope it is clear)

rule for shipping 18 Apr 2014 15:32 #2

Simply place all "overrides" first:
Name="postal code with higher costs"; 00172<=zip<=00177; Shipping=14
Name="postal code with higher costs"; ZIP==00182; Shipping=14
Name="Flat Rate Shipping"; 00100<=ZIP<=00200; Shipping=4

The plugin will always use the first rule that matches all conditions. So if your order has ZIP 00175, then the first rule will give the shipping rate of 14 and the other two rules will never even be considered. If the order has ZIP 199, then neither the first nor the second rule matches, so the third rule will give a shipping cost of 4.

Best regards,
Reinhold
  • Page:
  • 1