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:

Correct syntax? 09 Oct 2015 01:42 #1

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Hi

Installed: rules_shipping_advanced

Is there anything wrong with this set of rules:

Rules for Country Zone 1

Countries: United Kingdom

Tax: Apply No rule

Name="Free Shipping";UK_Area in list ("AB","AL");75.00<=Amount;0.00
Name="First Class";UK_Area in list ("AB","AL"); 1<=Weight<=1000;1<=Amount<=30.00;3.30
Name="First Class";UK_Area in list ("AB","AL"); 1001<=Weight<=2000;1<=Amount<=30.00;3.90
Name="Tracked 48";UK_Area in list ("AB","AL"); 1<=Weight<=2000;1<=Amount<=70.00;3.99
Name="Tracked 24";UK_Area in list ("AB","AL"); 1<=Weight<=2000;1<=Amount<=70.00;5.99

For the purposes of this topic, I have reduced the postcodes to just 2;

Problem

The 4th & 5th options do not display but should display in every cart for a UK delivery.

Option 1 does display, when order > £75.00;
Options 2 & 3 do display, as appropriate (based upon weight);

Is there a limit to the the number of names permitted in one set?

Thanks

Correct syntax? 09 Oct 2015 22:38 #2

Dear 4FootyFans,
You need to understand VirtueMart's approach to shipping methods: Each shipping method you configure can provide exactly one shipping cost. The plugin simply goes through the rules until it finds a valid shipping cost. All further rules are not even considered.

If you want to offer both "First Class" and "Tracked 24" and "Tracked 48" for the user to choose, you have to set up one shipping method for First Class (containing your first three rules), one shipping method for Tracked 48 (containing your fourth rule) and one shipping method for Tracked 24 (containing your fifth rule).

Best regards,
Reinhold

Correct syntax? 11 Oct 2015 20:38 #3

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Thanks, Reinhold

I now understand.

Best

4FF

[SOLVED] Correct syntax? 11 Oct 2015 20:38 #4

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Problem solved.
  • Page:
  • 1