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:

Shipment rules for two zones 25 Apr 2014 13:35 #1

  • raunhar
  • raunhar's Avatar Topic Author
I want the following rules for shipping in New zealand:
Zone 1
Flat rate: 4.99$
If order is above 99$, then free shipping

Zone 2
Flat Rate: 10.98$
If order above 99$, then : 5.99$

Zone 1 is City Area
Zone 2 is Rural Area , where the Post Code starts from RD 1 then post code.

How do I configure such kind of shipping.

Shipment rules for two zones 26 Apr 2014 18:44 #2

How do you determine exactly whether the address is a rural or an urban address? Is it sufficient to check whether the postal code starts with "RD 1"? Is the space required?

If it is, then you can write your shipping structure using four rules:
Name="Reduced rate, rural area"; ZIP~"RD 1"; Amount>99; Shipping=5.99
Name="Flat rate, rural area"; ZIP~"RD 1"; Shipping=10.98
Name="Free shipping, city area"; Amount>99; Shipping=0
Name="Flat rate, City area"; Shipping=4.99

Best regards,
Reinhold

Shipment rules for two zones 28 Apr 2014 07:07 #3

  • raunhar
  • raunhar's Avatar Topic Author
When I save the rule at the backend, it shows the following at the backend and checkout page:


Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'
Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'
Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'
Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'
Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'
Unknown operator '"RD 1"' in shipment rule 'ZIP~"RD 1"'

Shipment rules for two zones 28 Apr 2014 09:04 #4

  • raunhar
  • raunhar's Avatar Topic Author
It is taking only the first 2 lines of the rules.

If I keep the rule as
Name="Free shipping, city area"; Amount>99; Shipping=0
Name="Flat rate, City area"; Shipping=4.99
Name="Reduced rate, rural area"; ZIP~"RD 1"; Amount>99; Shipping=5.99
Name="Flat rate, rural area"; ZIP~"RD 1"; Shipping=10.98

it works well for the City area.

And if I put the rules as

Name="Reduced rate, rural area"; ZIP~"RD 1"; Amount>99; Shipping=5.99
Name="Flat rate, rural area"; ZIP~"RD 1"; Shipping=10.98
Name="Free shipping, city area"; Amount>99; Shipping=0
Name="Flat rate, City area"; Shipping=4.99

it processes well for the rural area.

Shipment rules for two zones 30 Apr 2014 06:46 #5

  • raunhar
  • raunhar's Avatar Topic Author
Please update, as it is very urgent.

Shipment rules for two zones 03 May 2014 23:21 #6

See open-tools.net/forum/ordernumber-plugin/...ry-charges.html#5229

Your second set works fine with the advanced (paid) version of the plugin. The free version does NOT provide the ~ operator to match the beginning of the zip code.

Best regards,
Reinhold
  • Page:
  • 1