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:

Specify UK Postal Code Range 29 Feb 2016 23:41 #1

  • DanBrad01
  • DanBrad01's Avatar Topic Author
Is it possible to set a range in UK Postal codes e.g. Postal codes PA20 to PA49

I'm currently using this to specify an additional charge for specific postcodes: Zip2 in list ("IV","KW","HS","ZE"); ExtraShippingCharge=6

How would i set a rule for "Postcode PA20 to PA49" = ExtraShippingCharge=6

Specify UK Postal Code Range 04 Mar 2016 12:29 #2

  • Tim.Latham
  • Tim.Latham's Avatar
Also interested in this

Specify UK Postal Code Range 04 Mar 2016 23:06 #3

Dear Dan,
In Rules with ExtraShippingCharge, you can use any conditions you like. In your case, since you are working with UK post codes, you should use the UK_Area and UK_District variables. The documentation (open-tools.net/documentation/advanced-sh...merce.html#postcodes ) gives some examples how you can check the district of UK post codes:
Name="Free shipping to parts of Walsall"; UK_Area=="WS" AND 15<=UK_District; Shipping=0
In your case, the rule would be:
Name=Extra charge for post codes PA20 to PA49; UK_Area=="PA"; 20<=UK_District<=49; ExtraShippingCharge=6

Best regards,
Reinhold
  • Page:
  • 1