Advanced Shipping by Rules Plugin for WooCommerce
Advanced Shipping by Rules for WooCommerce, Version 2.0.6 Filename: opentools-woocommerce-advanced-shipping-by-rules_v2.0.6.zip MIME-Type: application/zip File size: 129342 Bytes |
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 +, -, *, /, %, ^, parentheses and functions like round, ceil, floor, max, min, etc.) of the order properties in all conditions and shipping costs. You can also define custom variables that can contain complex conditions (e.g. ZIP are checks) to be reused in multiple rules. Another feature in the advanced version is the support for alphanumeric postcodes (UK, Canada, Netherlands).
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.
Limitations and common misconceptions
- The plugin does not easily allow shipping costs on a per-product level (e.g. it is not possible that Article A has shipping costs of 3€, Article B 5€ and if you order both you pay 8€ shipping)
- The plugin does NOT sum the results of all rules, but uses the FIRST matching rule it finds.
- The plugin does NOT use the lowest result of all rules, but it uses the FIRST matching rule it finds. (In particular, if you want to provide free shipping under certain conditions, you usually need to place the rule for free shipping FIRST rather than last, because the last rule will only be used if none of the other rules matches).
Documentation
Demo Server
Examples for the Rules
Support Forum
License
This plugin is licenced unter the GNU GPLv3.