Advanced Shipping by Rules Plugin for VirtueMart 2
Determine even very complex shipping costs according to general conditions (containing even mathematical expressions). Shipping costs can be depending on:
This "Advanced Shipping by Rules" plugin incorporates arbitrary basic arithmetic expressions (allowed operators are +, -, *, /, %, ^ and parentheses) of the order properties in all conditions and shipping costs.
Each country zone can be assigned a different tax rule, and the shipping cost can be given as the amout with or without taxes. In both cases the tax amount and the corresponding net or gross shipping costs will be correctly calculated.
Name=Free Shipping; 100<=Amount; 0
Name=Domestic Small; (Weight<3) OR (Articles==1); shipping=6
Name=Domestic Standard; Amount<100; Shipping=1.5*Weight
This set of rules describes three shipping costs: Orders of 100€ and more are free, otherwise if the order weighs less than 3kg or contains only one article, the shipping is 6€, all other orders cost 1.5€ per kg.
This advanced version of the plugin also allows shipping costs like 5% of the order amount, or 10€ per kg, or 2€ per additional article. More advanced rules are employed by cargo companies, where the shipping per kg gets cheaper the more you ship. A (very complex) example is the following rule, which applies to all orders of at least 2 articles below 100€ and specifies shipping costs as 5€ fixed plus 3% of the order amount plus 1€ per kg plus 0.5€ per additional article:Name=Complex shipping function; articles>=2; amount<100; shipping=5+amount*0.03+1*weight+0.5*(articles-2)
For more (and more real-life) examples of advanced shipping cost calculations, see the examples in the documentation.
Documentation
Demo Server
Examples for the Rules
Frequently Asked Questions (FAQ)
Support Forum
License
This plugin is licenced unter the GNU GPLv3.







