Table Rate Shipping by Class, Weight, Price, Quantity & Volume for WooCommerce Plugin is used to easily setup shipping charges based on shipping class, total weight, total price, total quantity and total volume of products in cart.
⇒ Calculate shipping by class, weight, price, quantity & volume.
⇒ Calculate shipping by increase in weight, price, quantity & volume.
⇒ Calculate shipping by volumetric/dimensional weight.
⇒ When you have thousands of rules and inserting it one by one is impossible, you can just prepare CSV and import using this plugin.
⇒ When you have complex cost formula using weight, price, quantity & volume, plugin allows fixed value or formula in cost field.
= Shipping by class, weight, price, quantity & volume =
When plugin checks for a rule all the 5 limits class, weight, price, quantity & volume should match for cost in that rule to be used as shipping cost.
In class field you can select one or more shipping classes. Weight, price, quantity & volume can be fixed value, range or empty. For range you can insert value like 10-15 means it can be any value between or equal to 10 and 15. Empty fields are shown as “- Any -” it means that field will be skipped by plugin for matching. When you click the table cell, you are allowed to edit that cell.
= Cost formula =
In formula you can use below operators, variables and functions. E.g. 2*ceil(twi)+2.5. Using formulas you can implement complex shipping requirements.
Operators: +, -, * and /.
Variables: Suffix f, t and i in below variables means upper limit, lower limit and increase in current rule.
E.g. if weight range limit is 10-20 and package weight is 13 then tw = 13, twf = 10, twt = 20 and twi = 3.
- tw: Total weight. twf: Total weight from. twt: Total weight to. twi: Total weight increase.
- tp: Total price(tax incl.). tpf: Total price(tax incl.) from. tpt: Total price(tax incl.) to. tpi: Total price(tax incl.) increase.
- tq: Total quantity. tqf: Total quantity from. tqt: Total quantity to. tqi: Total quantity increase.
- tv: Total volume. tvf: Total volume from. tvt: Total volume to. tvi: Total volume increase.
- skip: Skip current rule.
- stop: Stop checking further and discard shipping method.
- ceil(): Return numbers rounded up to the nearest integer. E.g. ceil(2.4) = 3.
- floor(): Return numbers rounded down to the nearest integer. E.g. ceil(2.4) = 2.
- sqrt(): Return square root of numbers. E.g. sqrt(9) = 3.
- abs(): Return absolute value of numbers. E.g. abs(-4.2) = 4.2.
= Rule priority =
Rules are checked from first to last to check for limits and if package details are in rule limits, cost in that rule is used as shipping cost and it will stop looking further. You can just drag drop rule to arrange it based on priority.
= CSV import/export =
There two places from where you can import/export CSV, below zones list and above table rates table.
When you import above CSV at below zones list, two zones Asia and Europe are created with continent, country, state and postcode as in columns and table rate shipping methods are added to these zones and table rates are imported to these methods. If zone with zone name already exists new zone is not created but zone details are updated and existing table rate shipping methods are replaced with new methods with table rates as in CSV.
When you import above CSV at above table rates table in zone Europe then only table rates in CSV with zone Europe are imported and if zone columns are not there in CSV then all the table rates are imported.
Continent, country and state columns data should be in same format as above. Continent AS is Asia, country IN is India, state IN:GJ is Gujarat in India. You can find complete list here.
= Frontend checkout process =
Checkout process remains the same, it will show all the table rate shipping methods for which matching rule is found and if for any method matching rule is not found that method will not be shown.
= Unit tested robust code =
Complete plugin is developed with unit tested robust code with decent code coverage using best software development standards and WordPress best practices.
Please contact support here for any questions or suggestions.
v1.0.0 - 26th January, 2017 --------------------------------------------------- - First Release!