Guides

WooCommerce table rate shipping: cost by weight and cart

By Mariusz Szatkowski · Updated: 2026-11-29

The short version

Table rate shipping picks the shipping price from rules instead of charging one flat amount. WooCommerce core cannot choose a price by weight or value range. The Flexible Shipping method in Polski PRO adds rules on cart subtotal, weight, item count and country, with first-match pricing, a free shipping amount, a default cost and a surcharge per extra unit of weight, all set up per shipping zone.

Plugin covered in this guide: Polski PRO for WooCommercePolski PRO for WooCommerce

A single shipping price is fine until the first heavy order arrives. A 1 kg parcel and a 25 kg parcel do not cost the same to send, and a cart worth 30 and a cart worth 300 do not deserve the same delivery fee. Table rate shipping solves that by choosing the price from a set of rules: the weight of the cart, its value, the number of items and where it is going. This guide explains how table rates work, what WooCommerce does on its own, how to build a rule set that does not surprise customers, and how the Flexible Shipping method in Polski PRO handles it.

What is table rate shipping?

Table rate shipping is a shipping method whose price comes from a table. Each row of the table has conditions and a cost. When a customer reaches the cart or checkout, the method reads the cart, finds the row that fits and shows that price. A typical table for a shop that sends parcels by courier looks like this:

Condition Cost
Up to 5 kg 14.99
5 to 30 kg 19.99, plus 2 for every kg above 10
Cart worth 300 or more free

The point is that the price follows what the carrier charges you. Carriers price by weight bands and by destination, so a shop that charges one flat amount either loses money on heavy parcels or overcharges light ones.

What does WooCommerce do without an extension?

WooCommerce ships three methods: Flat rate, Free shipping and Local pickup. Flat rate is more capable than its name suggests. Its cost field accepts simple formulas, such as a fixed amount plus a cost multiplied by the quantity, or a percentage of the cart with a minimum fee. It can also add a cost per shipping class, which lets you charge more for products you have tagged as bulky.

What it cannot do is choose a price by range. There is no field for "from 5 to 30 kg" and no way to say "this price only up to a cart value of 100". Free shipping can require a minimum order amount, but it is a separate method that sits next to the paid ones. A shop that needs weight bands, value bands or a different price for one country inside a zone needs a method that evaluates conditions.

How do you design a rule set customers understand?

Good rules are boring. Customers should be able to guess the shipping price before they see it.

  1. Start from your carrier's price list. Copy its weight bands rather than inventing your own, so the cost you charge tracks the cost you pay.
  2. Decide what the cart value means. In WooCommerce the subtotal shown in the cart is before coupons and without shipping, and it includes or excludes tax depending on how you display prices. Write the thresholds with that in mind.
  3. Keep ranges from overlapping. If one rule ends at 5 kg and the next starts at 5 kg, a cart of exactly 5 kg fits both. With first-match rules, the one higher in the list wins, so put the band you want for the boundary first.
  4. Always have a fallback. Some carts will fall outside every rule: an unusual weight, a country you forgot. A default cost keeps checkout working instead of showing no shipping at all.
  5. Show the free shipping threshold. If orders above an amount ship free, say so on the product and cart pages. A threshold the customer does not know about does not raise the order value.

How does the Flexible Shipping method in Polski PRO work?

Polski PRO adds a shipping method called Flexible Shipping that you add to a shipping zone like any other method, under WooCommerce > Settings > Shipping. Each instance has its own settings, so every zone can have its own rules. The full field reference is in the Flexible Shipping documentation.

What it reads from the cart

  • the cart subtotal as WooCommerce displays it,
  • the total weight in the shop's weight unit, without conversion,
  • the total quantity of items,
  • the two-letter code of the destination country.

How it picks the price

The method checks a free shipping amount first: when the subtotal reaches it, the rate is free. Otherwise it reads the rules from the top and the first rule whose conditions all match sets the price and, if you gave it one, the label shown at checkout. When nothing matches, it charges the default cost.

A rule's price can be a fixed amount, an amount per item, an amount per unit of weight or a percentage of the cart. On top of that a rule can add a surcharge for every started unit of weight above a threshold, which is how carriers often price heavy parcels.

How the rules are written

The rules are a JSON list typed into the Shipping rules field. A rule for heavy parcels to Poland looks like this:

{
  "label": "Courier, heavy parcel",
  "countries": "PL",
  "min_weight": 5,
  "max_weight": 30,
  "cost_type": "fixed",
  "cost": 19.99,
  "extra_kg_above": 10,
  "extra_kg_cost": 2
}

There is no visual rule builder, so keep the list short and test a few carts after each change.

What it does not check

The conditions are the four listed above. A rule cannot look at the state or region, the postcode, product categories, shipping classes, the payment method or the customer's role. If your pricing depends on those, the core Flat rate method with shipping classes, or a separate zone per region, may be the better fit.

How do you test the rules before going live?

Build three or four test carts that sit on the edges of your bands: just under a weight boundary, exactly on it and just over it, plus one cart above the free shipping amount. Open the cart with a shipping address in each country you sell to and compare the price with your carrier's list. Do it again whenever the carrier changes its prices, and remember that changing the shop's weight unit changes the meaning of every weight in the rules.

The short version

Table rate shipping picks the shipping price from rules instead of charging one flat amount. WooCommerce core cannot choose a price by weight or value range. The Flexible Shipping method in Polski PRO adds rules on cart subtotal, weight, item count and country, with first-match pricing, a free shipping amount, a default cost and a surcharge per extra unit of weight, all set up per shipping zone.

Polski PRO for WooCommerce