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:

Need some help with basic setup 05 Feb 2014 14:53 #1

  • tzic
  • tzic's Avatar Topic Author
Hello, I downloaded the pro version and I am trying to make it work. I want to have a flat rate of 6.15€ for shipping with 2 conditions. If weight > 7 then shipping cost should be 12 and if total amount is > 200 then shipping should be free of charge. I tried the following

Name=Standard;Shipping=6.15
Name=Extra weight;Weight>6;Shipping=12
Name=Free;200<=Amount;Shipping=0

but it does not work as it should, any ideas? Also is there a way to make rules depending on product id? That would be very useful at least for me.
Attachments:

Need some help with basic setup 09 Feb 2014 18:16 #2

To understand why it doesn't work, you need to know that the plugin evaluates the rules sequentially and uses the first rule that matches. In your case, the first rule does not have any restrictions, so it will match any order and VM will always use the first rule (6.15€).

To make it work, you simply need to rearrange the rules to place the most restrictive rule first:
Name=Free;200<=Amount;Shipping=0
Name=Extra weight;Weight>6;Shipping=12
Name=Standard;Shipping=6.15

This means that you have free shipping for orders above 200€, otherwise shipping will be 12 if the weight is larger than 6. If neither condition is fulfilled, then you have free shipping.
  • Page:
  • 1