Skip to content

Flexible Shipping (Table Rate)

The Flexible Shipping shipping method lets you define complex shipping cost rules.

Go to WooCommerce > Settings > Shipping > [Zone] > Add method > Flexible Shipping.

ConditionDescription
Min/max cart valueCost depends on order value
Min/max weightCost depends on cart weight (kg)
Min/max number of productsCost depends on quantity
CountriesRule applies only to specific countries
ModeDescription
fixedFixed amount per order
per_itemAmount x number of products
per_kgAmount x weight in kg
percentPercentage of cart value

You can configure an additional cost for each kg above a threshold:

  • extra_kg_above: Weight threshold (kg)
  • extra_kg_cost: Cost per additional kg

The “Free shipping above” field - once the cart value is exceeded, shipping is free.

Rules are stored as JSON. Example:

[
{
"label": "Standard (up to 5 kg)",
"min_weight": 0,
"max_weight": 5,
"cost_type": "fixed",
"cost": 12.99
},
{
"label": "Heavy parcel",
"min_weight": 5,
"max_weight": 30,
"cost_type": "fixed",
"cost": 19.99,
"extra_kg_above": 10,
"extra_kg_cost": 2
}
]