🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

WooCommerce Shipping Rate Rules Add-on Setup Guide

Updated 10 min read WooCommerce Store & Checkout
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Add the Method to a Shipping Zone
  4. Step 3: Build the Rate Table
  5. The condition
  6. The cost
  7. Editing rows
  8. Step 4: Choose How Rows Are Combined
  9. Step 5: Handling Fee, Minimum, Maximum and Fallback
  10. Step 6: Free Shipping
  11. Step 7: Labels and Stop Rows
  12. Step 8: What Customers See
  13. Step 9: The Rate Tester and Overview
  14. Step 10: Settings and the Shop Manager Breakdown
  15. Worked Examples
  16. Weight tiers with a carrier limit
  17. Per item with a bulky surcharge
  18. Value-based insurance
  19. Troubleshooting

Video walkthrough

WooCommerce Table Rate Shipping: Rates by Weight, Cart Total & Shipping Class
Watch: build a shipping rate table by weight and shipping class, with free shipping over 200 dollars, and see the cart pick the right rate. Watch on YouTube

The WooCommerce Shipping Rate Rules Add-on adds a new shipping method to WooCommerce called Shipping rate rules. Instead of one flat price, each method has its own rate table: rows that look at the weight of the order, the subtotal, the number of items or the shipping class, and turn that into a price. You can charge per order, per item, per pound or kilogram and as a percentage of the subtotal, in any mix, and you can stop shipping altogether when an order is too heavy for your carrier.

This guide covers installation, adding the method to a shipping zone, building the rate table, the five ways of calculating, handling fees, minimum and maximum costs, free shipping, labels and Stop rows, the rate tester, the shop manager breakdown, the settings, the license and troubleshooting. Every example uses one store: a furniture shop in Portland that ships chairs, desks, conference tables and small accessories across the United States.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher (tested on 7.4 and 8.3)
  • WooCommerce: Version 8.9 or higher (tested up to 11.2), block and classic cart and checkout, HPOS on or off
  • Product data: weights on your products if you use weight rows, and shipping classes if you price by class
  • License: an active GravityExtra license key for the Pro features listed in Step 9

Step 1: Install and Activate Your License

  1. Download the add-on zip from your GravityExtra account and go to Plugins → Add New → Upload Plugin.
  2. Upload the zip, click Install Now and then Activate. WooCommerce must be active.
  3. Open WooCommerce → Shipping Rate Rules → License, paste your key and click Activate License.

The add-on does not change any existing shipping method. Your flat rates, free shipping and local pickup keep working exactly as before, and the new method only appears where you add it.

Step 2: Add the Method to a Shipping Zone

Rate tables live inside WooCommerce shipping zones, so the zone decides where a table applies and the table decides how much it costs. Go to WooCommerce → Settings → Shipping, open a zone (or create one, for example Lower 48 states), click Add shipping method and choose Shipping rate rules.

A zone can hold several rule methods. Our furniture shop has two in the Lower 48 zone: Ground shipping, priced by weight, and Express (2 business days), priced per shipping class. Customers see both at checkout and pick one. A second zone, Alaska and Hawaii, has its own table with higher costs. Postcode ranges, states and countries are all handled by the zone, exactly as WooCommerce does it, so you never repeat address rules inside the table.

After adding the method, click Edit under it in the zone. The settings open on their own page, with enough room for the whole table.

Step 3: Build the Rate Table

Each row has a condition and a cost. Rows are checked from top to bottom.

The Rate table of a Shipping rate rules method in the WooCommerce shipping zone settings: four rows based on weight in pounds, 0 to 10 at $9.95, 10 to 50 at $14.95 plus $0.35 per pound, 50 to 150 at $89 plus $0.50 per pound with the label Freight delivery, and a Stop row from 150 pounds
The rate table of the Ground shipping method: weight tiers, a per-pound cost, a Freight delivery label for heavy orders and a Stop row over 150 lbs.

The condition

  • Based on — Weight (in your store unit), Subtotal, Item count, or Always for a row that matches every order.
  • From and Below — the range. From is included and Below is not, so the rows 0–10 and 10–50 never overlap: an order of exactly 10 lbs uses the second row. Leave Below empty for “and up”, or From empty for “anything below”.
  • Shipping class — Any, No shipping class, or one of your classes. In the per-order modes a class row matches when the cart holds at least one item of that class; No shipping class matches when none of the items has a class.

The cost

The cost of a row is the sum of four parts, and you only fill in the ones you need:

  • Per order — a fixed amount, for example 9.95.
  • Per item — multiplied by the number of items that need shipping.
  • Per lbs (or per kg) — multiplied by the total weight. With Round the weight up switched on, 2.5 lbs is charged as 3 lbs, the way most carriers bill.
  • % of subtotal — a percentage of the items’ value, useful for insured or high-value goods.

The Ground shipping table of our example reads: 0–10 lbs costs 9.95; 10–50 lbs costs 14.95 plus 0.35 per pound; 50–150 lbs costs 89 plus 0.50 per pound and is called Freight delivery; and from 150 lbs a Stop row offers no ground shipping at all, because those orders go by quote.

Editing rows

Click Add row for a new row, use the arrows to move a row up or down and the cross to remove it, then click Save changes. Amounts accept a dot or a comma as the decimal separator; anything that is not a number is saved as empty.

Step 4: Choose How Rows Are Combined

The Calculation setting decides what happens when more than one row matches.

  • Per order: first matching row — the first row from the top that matches sets the price. This is the classic tiered table and the easiest to read.
  • Per order: cheapest matching row — every matching row is priced and the lowest wins. Good when you combine a per-weight and a per-item formula and want the customer to get the better one.
  • Per order: most expensive matching row — the highest wins, for example to make sure a heavy item never ships at the light-parcel price.
  • Per order: add up all matching rows — every matching row is added. Use it to build a price from parts: a base row that always matches, plus a surcharge row for one class, plus a remote-area row.
  • Per shipping class: add up the classes — the cart is split by shipping class, each class is priced on its own with the first matching row, and the results are added. A cart with one bulky chair and two monitor arms pays the bulky price for the chair and the parcel price for the arms.

In our example the Express method uses per-class pricing: a row for Bulky furniture at 120 per order plus 25 per item, and a row for everything else at 24 plus 0.90 per pound. One chair and one monitor arm cost 145 plus 29.40, so 174.40.

Step 5: Handling Fee, Minimum, Maximum and Fallback

  • Handling fee — a fixed amount and a percentage of the subtotal, added once per order on top of the table.
  • Minimum shipping cost — a floor, for example never less than 12.
  • Maximum shipping cost — a cap, for example never more than 100, so very heavy orders stay attractive.
  • When no row matches — either Do not offer this method (the default) or Charge the fallback cost, a fixed amount you set.

Empty fields are switched off. The minimum and maximum are applied after the handling fee, and before free shipping.

Step 6: Free Shipping

Two settings make a rule method free without a separate free shipping method:

  • Free when the subtotal is at least — for example 500. The subtotal is the value of the items after discounts; tick Include tax in the subtotal if your prices are shown with tax.
  • Free shipping coupons — when a coupon with Allow free shipping is applied, this method becomes free. Leave it off on premium methods such as Express, so the coupon only covers the standard rate.

A Stop row always wins: an order over the carrier limit is never offered at zero. When a method is free because of the threshold or a coupon, the order’s shipping line records why.

Step 7: Labels and Stop Rows

The optional Label of a row replaces the method title when that row sets the price. Customers then see Freight delivery for heavy orders and Ground shipping for light ones, from the same method. Labels apply to the modes that pick one row (first, cheapest and most expensive).

Tick Stop on a row to offer no shipping from this method when the row matches. In the first-match mode the Stop row has to be the first matching row; in the other modes any matching Stop row hides the method. Other methods in the zone stay available, so you can keep a Freight by quote or a local pickup option for those orders.

Step 8: What Customers See

The rates appear in the cart and at checkout like any other WooCommerce shipping method, in the Cart and Checkout blocks as well as the classic cart and checkout. They update when the customer changes the address, the quantities or the coupons.

Shipping options in the WooCommerce Checkout block: Freight delivery $114.25 selected, Express (2 business days) $180.25 and Local courier $19.00
At checkout the customer sees the rate the rows produced: Freight delivery for a 50.5 lb order, and an Express rate priced per shipping class.

When the order is placed, the shipping line keeps the method, the price and a Rate rows note with the rows that matched, so you can always see later why an order paid what it paid. This works with high-performance order storage on or off.

Step 9: The Rate Tester and Overview

WooCommerce → Shipping Rate Rules lists every rate table in your store with its zone, title, calculation, number of rows and status, with an Edit rows button for each.

The Shipping Rate Rules screen in the WordPress admin with a list of rate tables per shipping zone and the Rate tester: an address in California, 50.5 pounds, $484 subtotal, 2 items of the class Bulky furniture, and the results Freight delivery $114.25 from row 3 and Express $170.00 from row 1
The rate tester shows which zone an address falls in, what each method charges and which row decided the price.

Below it, the Rate tester lets you check a price before a customer does. Enter a country, state and postcode, a weight, a subtotal, the number of items and a shipping class, and optionally tick Free shipping coupon applied. The tester finds the shipping zone the same way checkout does and shows, for each rule method in it, what the customer would see, the cost and the rows that decided it — or Not offered with the reason. The tester treats the items as one group of one class; mixed carts are best checked in the cart itself.

Step 10: Settings and the Shop Manager Breakdown

  • Free rates — when a rule rate is free (threshold or coupon), hide the other paid rates of that package, so customers are not offered a paid courier next to free ground shipping. Local pickup stays.
  • Cart breakdown — shop managers see a small line under each rule rate in the classic cart and checkout: the rows that matched, the weight, the number of items and the subtotal. Customers never see it. It is the fastest way to check a table on the live store.
  • Uninstall — delete these settings and the license when the plugin is deleted. Rate tables are part of your shipping zones.

Without an active license the rate tables keep working, but Per shipping class calculation uses first matching row, and the Free rates and Cart breakdown options pause. A notice on the settings screens says so.

Worked Examples

Weight tiers with a carrier limit

Rows: 0–5 lbs at 7.50; 5–20 lbs at 12.50; 20–70 lbs at 18 plus 0.40 per pound; from 70 lbs Stop. Calculation: first matching row. A 32 lb order pays 18 + 12.80 = 30.80; an 80 lb order sees no ground rate.

Per item with a bulky surcharge

Rows: Always, 6.95 per order plus 1.50 per item; Always, class Bulky, 35 per order. Calculation: add up all matching rows. Three small items pay 11.45; adding a bulky item adds 35 plus another 1.50.

Value-based insurance

Rows: Subtotal from 0, 2% of subtotal; Subtotal from 1,000, 25 per order plus 1.5%. Calculation: most expensive matching row, with a minimum of 9. Small orders pay at least 9; large orders pay the insured rate.

Troubleshooting

  • The method does not show at checkout — check that the address is in the zone, that the method is enabled, that a row matches (use the rate tester), and that When no row matches is not hiding it. A matching Stop row also hides it.
  • Weight rows never match — the products need a weight. Variations without their own weight use the parent product’s weight. Virtual and downloadable products are ignored.
  • A class row does not match — set the class on the product (or the variation) under Shipping → Shipping class.
  • The price is one tier too high — remember that Below is not included: 10 lbs belongs to the row that starts at 10.
  • The cart shows an old price — WooCommerce caches shipping rates per cart; changing the cart or the address recalculates them. Saving the method settings clears the cache for everyone.

Good to know

  • Rate tables are stored with the shipping method instance, so they are part of your normal database backups.
  • Nothing is sent to an outside service: prices are calculated on your own server.
  • The add-on works next to the shipping methods you already have, in the same zones.
  • Developers can adjust a result with the filter gesr_rate_result.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr