The WooCommerce Cadre features for shipping has become quite more extensive with WooCommerce ii.half-dozen a while dorsum. I of the things that is not possible to configure in WooCommerce Core is weight based shipping. To attain that you'll need to use a shipping plugin that supports that.

In this postal service I'll exist explaining how you can setup weight based aircraft using theAdvanced Aircraft for WooCommerce plugin, a plugin that I've adult. I'll show you lot different means of configuring aircraft methods based on weight and besides how you can setup table charge per unit weight aircraft.

Creating a Weight Based Shipping Method

Lets set a requirement that we'd desire to configure showtime. Lets say nosotros desire to have the following weight rates to be setup:

  1. From 0lbs to 7lbs, the cost will be $3.95
  2. From 7lbs to 8lbs, the cost will be $iv.50
  3. From 8lbs to 9lbs, the cost will be $iv.95
  4. From 9lbs to 10lbs, the cost will be $v.75
  5. Anything above 10lbs, the cost will be $7

This is a pretty simple and direct forrard configuration. It can best be setup using the 'Weight' condition to create weight ranges.

Step 1: Create a Advanced Shipping Charge per unit

Step 2: Use two 'Weight' conditions to create a weight range

Step three: Set the aircraft price

Footstep four: Salvage and Echo for the other ranges

You tin can echo these steps to configure the 4 weight based aircraft rates. They should all look the aforementioned, merely the numbers modify.

Only the concluding shipping rate looks a bit unlike, as that i doesn't require a 'less or equal' Weight based condition to limit the weight range.

Setting up State Weight Based Shipping

The greatest ability of the Advanced Shipping plugin lies with the conditional logic. This volition allow you to add together any number of conditions to a condition group, including a 'Country' condition to set the weight based shipping method to only be applied to a specific country.

This can of course be replicated for the other shipping rates besides, and for other countries too.

Creating Table Rate – Weight Based Shipping Price

When your requirements are bit more complex / all-encompassing from the earlier scenario where there are five elementary rules, using a extension for the Advanced Aircraft plugin would exist recommended. TheWAS Advanced Pricing extension (gratis extension, only requires a supported purchase key) allows you to configure more avant-garde shipping costs, including a like shooting fish in a barrel table rate way of setting up cost per weight.

When nosotros take the former shipping scenario with the five simple rules, nosotros'd at present be able to enter those in the 'Price per weight' section in a single aircraft rate. We'd no longer need to create private shipping rates and use the 'Weight' condition to setup the weight ranges.

Configuring Weight Based Shipping Cost per Category or Shipping Course

Y'all tin can do a lot of absurd things with the Advanced Shipping – Advanced Pricing extension. This includes configuring weight based shipping rates per category, aircraft class and even if y'all'd like per product.

Hither'southward what a empty 'Cost per category' section looks like.

— Why am I showing you lot this? Find that the 'Min' and 'Max' fields are based on the 'Quantity' of the category/shipping course past default, not the weight as the 'Cost per weight' department showed. So how do you lot setup the weight based shipping toll based on the category / shipping class?

Inside the 'Min' and 'Max' fields y'all can add a 'modifier' grapheme, in this example a 'westward' (standing for 'weight') to change the Min/Max field to expect at the category weight instead of quantity. The aforementioned can be done in the 'Cost per shipping class' and 'Cost per production' sections to setup weight based shipping toll for the selected (group of) products.

Multiplying Shipping Cost With Weight

There are more cool features to show in the WAS – Advanced Pricing extension. The 'Fee amount' field has the ability to setup a flat, percentage (cart/group), deducting (negative) aircraft toll. In that location's as well the option to multiply it with the group quantity, significant for the 'Cost per weight' department this means multiplying it with the total cart weight.

Multiplying a corporeality with the weight can be done using a asterisk '*' symbol in the 'Fee amount' field. This example will add together shipping price of $5 * {weight} to the shipping charge per unit.

Shipping Cost per Weight Interval

The last feature I desire to show is the power to setup shipping price per weight interval. Think setting a aircraft cost of $four for every 10lbs. Information technology is of course possible to setup weight ranges manually with a finite number, but why practise it manually if it can be automatic and space.

There are two ways to setup the interval based shipping cost. Depending on your needs you can enter the valuefour/10 to circular information technology up, or enter 4\10 to round it down to the nearest 10lbs.

Lets give some examples for clarification.

This volition add together $4 for every 10lbs, rounded up. Then if there's a total between 0 and 10lbs in the cart it will add $four. Between the adjacent 10.01 and 20lbs it will add another $4, and then on and then forth for each 10lbs.

The opposite (kinda) happens with this setup;

This volition not employ whatever cost below the full of 10lbs, between 10lbs and 20lbs it will add the first $4 to the aircraft cost and the next $four betwixt 20lbs and 30lbs, and so on then forth for each 10lbs.

Thats it for this mail, if you accept any questions or call up I've missed something, feel gratuitous to ask/share in the comments!

Oh, and hither'south an easy link to theAdvanced Aircraft for WooCommerce plugin

Jeroen Sormani

I'one thousand a professional WordPress plugin developer on a mission to create the all-time plugins for my clients. I'm specialised in developing general WordPress, WooCommerce and Easy Digital Downloads plugins.

Interested in talking virtually a WordPress projection? Get in touch!

Follow me on Twitter