E-commerce Tools & Best Practices

How to Set Up WooCommerce Quantity-based Shipping

By: Michelle McNamara | May 7, 2019

If you’re looking to set up your WooCommerce store to support quantity-based shipping, you likely have a business model that encourages a bundle purchase of the same product. For example, you might offer a discount to users for buying more than one of your best-selling item in order to increase your average order value. Or, you may be promoting a “buy one, get one free” sale to clear out old inventory. As long as your customer’s cart is filled with multiples of the same product, then you’ll want to set up WooCommerce quantity-based shipping, since it’s the best way to adjust shipping rates during checkout based on the amount of items customers have in their cart.

(Editor’s Note: this option will not work if your average order typically has many items of varying sizes and weight. Don’t worry–we’re already working behind the scenes on a blog post to help you sell varying items at once, so stay tuned for that.)

Does WooCommerce Quantity-based Shipping Work for My Business?

We’ll show you how to set up your WooCommerce shipping rates so that accurate prices are charged at checkout. You’ll want to use this method if you meet the following criteria:

  • When your customers check out, all of the products in their order are the same size and weight.
  • Most likely, that means that your average order contains multiples of the same product.
  • You can also use this method if the products are different, but their size and weight are the same.

The Step-by-step Process Overview

Step 1: Set Up Your WooCommerce Shipping Zones

First, you’ll want to identify and set up WooCommerce Shipping Zones.

It’s critical that you’re using WooCommerce Shipping Zones to charge your customers for shipping during the checkout process. Here’s why: the major carriers have different shipping rates based on the distance the package will travel between the origin and destination addresses.  These distances are broken up into Shipping Zones. By setting up WooCommerce Shipping Zones in your WooCommerce shopping cart, you’re able to pass along the correct shipping rate to your customer.

For step-by-step instructions on how to set up your Shipping Zones, check out this blog post.

Today, we’ll assume that you’ve already set up your Shipping Zones in WooCommerce, and that you’ve signed up for a WooCommerce shipping plugin that lets you compare shipping rates and get significant postage discounts.

Step 2: Get Your List of USPS Shipping Rates

You’ll want to have a crystal clear idea of your shipping costs. If you already know your rates, skip this step. Otherwise, we’ll walk you through how to figure out what your carrier will charge to ship your items.

Find Your Average Package Weight

Figure out how much your packages weigh. For the sake of this article, we’ll cover two store examples. The first store exclusively sells lotions and the other sells vases. Let’s say one bottle of lotion weighs one pound and one vase weighs five pounds.

Select Your Service Level

Next, decide which carrier and service level to use. For more information, check out our guide on all of the common USPS service levels for domestic packages.

Today, we’ll be using the popular USPS Priority Mail rates, and specifically, the reduced rates you get when you use Shippo as your shipping software.

Note Your Rates for Each Zone

Most of the carriers’ prices are based on the package’s weight, dimensions, and distance it travels. That distance—from the origin address to the destination address—is categorized into different Zones. The longer the distance, the higher the Zone, and the more expensive the package will cost.

Use your package weight to look up the shipping price for each Zone. We have a wide sampling of prices in our 2019 USPS postage rates blog post. If you can’t find the weight and service level mix you’re looking for, you can also reach out to our sales team for a personalized rates analysis at sales@goshippo.com.

Let’s start with the lotion example. As you can see in the table below, if one bottle of lotion weighs one pound, sending it to an address in Zone 1 (relatively close to where you’re shipping from) would cost $6.95. If you send to Zone 9 (a much further away address), it would cost $9.91 to send the same bottle.

If you want to send two bottles of lotion, the weight of the package will double–from one pound to two pounds. Looking at the table below, you see the number of pounds to the left. Track how much it would cost to ship a two pound package across the line of Zone rates:

$7.42 for Zones 0-2, $7.61 for Zone 3, $7.88 for Zone 4, and so on.

2019 USPS Priority Mail Rates – Shippo Rates (CBP & CPP)

Weight (pounds) Zone 0,1,2 Zone 3 Zone 4 Zone 5 Zone 6 Zone 7 Zone 8 Zone 9
1 $6.95 $7.28 $7.49 $7.65 $7.82 $7.99 $8.25 $9.91
2 $7.42 $7.61 $7.88 $8.50 $9.70 $10.23 $10.86 $15.17
3 $7.61 $7.99 $8.34 $9.26 $11.80 $13.10 $15.28 $20.58
4 $7.71 $8.20 $8.81 $10.03 $13.75 $15.59 $17.61 $24.78
5 $7.81 $8.25 $9.12 $10.33 $15.67 $17.92 $20.40 $28.84
6 $7.91 $8.29 $9.22 $13.77 $17.93 $20.83 $23.81 $33.05
7 $8.15 $9.41 $9.46 $15.43 $19.86 $23.48 $26.75 $37.11
8 $8.20 $9.87 $11.16 $16.84 $21.82 $25.85 $30.04 $41.66
9 $9.01 $10.25 $11.62 $18.06 $23.74 $28.00 $33.40 $46.33
10 $9.38 $10.67 $11.69 $19.51 $25.64 $30.79 $36.32 $50.38

Do the same thing for our second example with five pound vases.

The shipping cost for one vase that weighs five pounds to Zones 0-2 would be $7.81. If you want to send the same vase to Zone 3, the shipping would cost $8.25.

If the customer orders two vases in the same purchase, the weight of the package would be 10 pounds (five pounds per vase x two vases). According to the table above, shipping it would cost $9.38 for Zones 0-2, $10.67 for Zone 3, $11.69 for Zone 4, and on we go.

The USPS lets you send up to 70 pounds per package–that’s 70 bottles of lotion or 14 vases. Reach out to sales@goshippo.com for the full table.

Step 3: Calculate the Difference in Shipping Costs Between One Item and Multiple Items

Get your Excel or favorite notebook, and let’s make a table of our own, listing the different price for each quantity for each Zone.

As you can see below, if you ship two lotion bottles (one pound each), your shipping price doesn’t double–it just costs $0.47 more ($7.42 to ship two lotions instead of $6.95 to ship one lotion).

Package Weight Lotion Quantity USPS Priority Mail Rate (Zones 0, 1, 2) Rate Difference from Previous Quantity
1 1 $6.95
2 2 $7.42 $0.47
3 3 $7.61 $0.19
4 4 $7.71 $0.10
5 5 $7.81 $0.10
6 6 $7.91 $0.10
7 7 $8.15 $0.24
8 8 $8.20 $0.05
9 9 $9.01 $0.81
10 10 $9.38 $0.37

But the difference in shipping rates isn’t consistent. If you send five or six lotions, the difference is only $0.10. But if the customer has eight lotions in her cart, and suddenly adds a ninth one, the shipping price jumps by $0.81–from $8.20 to $9.01.

How do you set this in WooCommerce?

You make up a rule.

Why?

A shipping rule will allow you to charge a more accurate price for shipping based on the number of items purchased. The alternative is that WooCommerce charges shipping on a per item basis.

Therefore, if a customer purchased three lotions, for example, they would be charged three times the base shipping rate. In this example, if you don’t make up a rule of your own, WooCommerce would charge your customer $20.85 for shipping three lotions (3 x $6.95) instead of the $7.61 that you’ll actually pay your postage provider.

The profit might be tempting, but with so many retailers competing over shipping prices, let’s look for a win-win solution that will serve both you and your customers.

Step 4: Create a Shipping Rule For Each Zone With Trial and Error Calculations

You’ll want to take the information you have about how the shipping price changes for greater quantities and create an equation to reflect these values. This is the equation that you’ll plug in to WooCommerce so that it automatically calculates a shipping rate based on the quantity of items that’s purchased. It should look something like this:

[Minimum shipping value] + ( [additional rate per item] * [quantity of items] )

For our lotion example, we came up with this equation:

$6.80 + ($0.30 * [number of lotion bottles])

Here’s how we determined these numbers:

  1. Set a minimum value. To get an equation that accurately reflects your shipping costs, you’ll want to start with a minimum shipping value that is close to the price of shipping one product. In this example, the rate for shipping one product is $6.95. We tried a few different minimum values to see what would get the equation result closest to the real cost (using trial and error), which is how we ended up with $6.80 as our minimum shipping value.
  2. Add the average rate difference from your table above. If you calculate the differences in rates in the table above, you’ll see that the average rate difference is $0.27. We slotted $0.27 into our equation and realized that we would lose money for a handful of select quantities. So, we played around with a few other values and settled on $0.30.
  3. Test your equation. As we mentioned, it’s going to take some trial and error to determine the best rate for your unique situation. Since the USPS Priority Mail rates have sporadic increases as the package weight increases, there’s no perfect equation that will make each shipping price match exactly what your customer will pay at checkout. Ultimately, you want to get as close as possible, so that the customer feels like they’re paying a reasonable amount for shipping, while you’re not losing money in the process.
Package Weight Lotion Quantity USPS Priority Mail Rate (Zones 0, 1, 2) Shipping Rate at Checkout With Our New Rule ($6.80 minimum value + $0.3 per lotion) Difference Between USPS Rate & Checkout Price
1 1 $6.95 $7.10 +$0.15
2 2 $7.42 $7.40 -$0.02
3 3 $7.61 $7.70 +$0.09
4 4 $7.71 $8 +$0.29
5 5 $7.81 $8.30 +$0.49
6 6 $7.91 $8.60 +$0.69
7 7 $8.15 $8.90 +$0.75
8 8 $8.20 $9.20 +$1.00
9 9 $9.01 $9.50 +$0.49
10 10 $9.38 $9.80 +$0.42

As you can see, you will make a profit on every single purchase of lotions for these Zones except for when a customer orders two lotions. In that case, you lose two cents.

But if a customer orders six lotions, the USPS Priority Mail rate for Shippo members is $7.91, while your customer pays $8.60, meaning you make a profit of $0.69.

Do the math for all potential variations to make sure you’re happy with the profit or loss outcome for each quantity. Then, you’ll need to create an equation just like that for each of the WooCommerce Shipping Zones.

Remember, the USPS lets you send up to 70 pounds per package. For this example, we’re only looking at the first 10 pounds, but you can reach out to sales@goshippo.com for the complete rate chart in order to cover larger quantities.

Let’s go through one more example to let you practice creating the equations.

Second Example for Calculating WooCommerce Quantity-Based Shipping

This time, let’s look at a business that sells vases.

As you might remember, we said that one vase weighs five pounds. Therefore, according to the following table, the shipping rate for one vase to Zones 0, 1 and 2 is $7.81 if you use the USPS Priority Mail rates for Shippo members.

2019 USPS Priority Mail Rates – Shippo Rates (CBP & CPP)

Weight (pounds) Zone 0,1,2 Zone 3 Zone 4 Zone 5 Zone 6 Zone 7 Zone 8 Zone 9
1 $6.95 $7.28 $7.49 $7.65 $7.82 $7.99 $8.25 $9.91
2 $7.42 $7.61 $7.88 $8.50 $9.70 $10.23 $10.86 $15.17
3 $7.61 $7.99 $8.34 $9.26 $11.80 $13.10 $15.28 $20.58
4 $7.71 $8.20 $8.81 $10.03 $13.75 $15.59 $17.61 $24.78
5 $7.81 $8.25 $9.12 $10.33 $15.67 $17.92 $20.40 $28.84
6 $7.91 $8.29 $9.22 $13.77 $17.93 $20.83 $23.81 $33.05
7 $8.15 $9.41 $9.46 $15.43 $19.86 $23.48 $26.75 $37.11
8 $8.20 $9.87 $11.16 $16.84 $21.82 $25.85 $30.04 $41.66
9 $9.01 $10.25 $11.62 $18.06 $23.74 $28.00 $33.40 $46.33
10 $9.38 $10.67 $11.69 $19.51 $25.64 $30.79 $36.32 $50.38

Alternatively, eight vases would weigh 40 pounds total, and therefore, shipping them to these zones would cost $25.18.

Weight (pounds)

Zone 0,1,2

5

$7.81

10

$9.38

15

$13.01

20

$15.05

25

$18.04

30

$22.17

35

$23.89

40

$25.18

Now, let’s calculate how much more it would cost a customer to ship additional vases on average. Again, to simplify, we’re only calculating this up to 40 pounds, which equals eight vases, but the USPS lets you ship up to 70 pounds in one package. If that’s relevant for you, reach out to sales@goshippo.com.

Package Weight (pounds) Vase Quantity USPS Priority Mail Rate (Zones 0, 1, 2) Rate Difference from Previous Quantity
5 1 $7.81
10 2 $9.38 $1.57
15 3 $13.01 $3.63
20 4 $15.05 $2.04
25 5 $18.04 $2.99
30 6 $22.17 $4.13
35 7 $23.89 $1.72
40 8 $25.18 $1.29

The average difference of adding an additional vase to the cart (with the intention of getting it shipped to Zones 0-2 with USPS Priority Mail): $2.48.

Let’s round it up to $2.50.

Now, let’s set the minimum shipping value at $8. This time, we’re going a little above what it usually costs to send one item, since vases weigh more and there are larger differences in their shipping rates, and we want to minimize the chance of the business losing money on this. Here’s our equation:

$8 + ($2.50 * [number of vases])

Therefore, if a customer wants to buy one vase, WooCommerce will charge her the $8 as the minimum shipping value, plus $2.50. The total rate at checkout would be $10.50. If you subtract the cost of shipping with USPS Priority Mail ($7.81), you’re left with a profit of $2.69.

If a customer wants to buy two vases, there’ll be an additional charge of $2.50. Therefore, the total cost for shipping for the customer will be $13. As you can see in the chart, the USPS will only charge you $9.38 for the same deal (if you’re a Shippo member), leaving you with a $3.62 profit.

Package Weight (pounds) Vase Quantity USPS Priority Mail Rate (Zones 0, 1, 2) Shipping Rate at Checkout With Our New Rule: $8 + ($2.50 * [number of vases]) Difference Between USPS Rate & Checkout Price
5 1 $7.81 $10.50 +$2.69
10 2 $9.38 $13 +$3.62
15 3 $13.01 $15.50 +$2.49
20 4 $15.05 $18 +$2.95
25 5 $18.04 $20.50 +$2.46
30 6 $22.17 $23 +$0.83
35 7 $23.89 $25.50 +$1.61
40 8 $25.18 $28 +$2.82

Step 5: Set Up WooCommerce Quantity-Based Shipping in WordPress

Finally, you need to add your equations to WooCommerce, so that the rates are automatically calculated at checkout. Go to WooCommerce > Settings > Shipping > Shipping Zones.

Choose your Zone and click on it. In this case, Zone 1.

WooCommerce Shipping Zones

Select your Shipping Method.

WooCommerce Shipping Method

When a box called Flat Rate Settings opens up, enter your equation into the Cost field.

WooCommerce Shipping Costs

For our “lotions” store example, the equation looks like:

6.80 + ( 0.3 * [qty] )

For our “vases” store example, here’s the equation:

8 + ( 2.5 * [qty] )

WooCommerce Vases Shipping Cost

Make sure to use the abbreviation [qty] in your equation as that’s recognized by WooCommerce.

Then, click the Save Changes button.

Of course, repeat the process of adding WooCommerce quantity-based shipping equations for each Zone.

Once you’re done with the Zones, you’re done setting up WooCommerce quantity-based shipping. Congratulations!

Michelle McNamara

Senior Marketing Manager at Shippo

Categories
In the Spotlight

The Ultimate E-commerce Shipping E-book

Everything you need to master your shipping strategy.

Download Now
Submit a guest post to this blog

Related Articles

Shipping Tips & Solutions

Most SMBs Offer Free Shipping, But Few Offer Fast

USPS, FedEx, UPS, DHL, & More

2019 USPS Postage Rate Changes: What Do Retailers Need to Know?

Shipping Tips & Solutions

The Ultimate E-commerce Shipping Guide: Solutions, Strategies, & More

Get Started Today for Free

Kickstart your shipping without a monthly subscription. Pay a per label fee + the cost of postage.

Sign Up Free