WooCommerce handles most shipping costs on its own: a flat rate, a cost multiplied by the quantity, free shipping above an amount or with a coupon, and local pickup. To charge by weight, show pickup points or work with several carriers, you need a plugin. Here is each case, with the simplest solution.
In short
- Everything is set in WooCommerce > Settings > Shipping, by shipping zone.
- Built in: flat rate, cost per item, free shipping (minimum order amount or coupon), local pickup.
- Weight or cart total: the free Flexible Shipping plugin.
- Pickup points: the official Mondial Relay plugin, the Colissimo one, or Boxtal for several carriers.
- To hide a method depending on the products in the cart, a few lines of code are enough.
Delivery is one of the topics we get asked about most. Use the headings below to go straight to your case.
The basics: zones, methods and classes
Everything happens in WooCommerce > Settings > Shipping, around three ideas:
- Shipping zones: areas (France, Europe, the rest of the world…). Customers see the methods of the zone that matches their address.
- Shipping methods: what customers choose from in each zone. The three built-in ones are “Flat rate”, “Free shipping” and “Local pickup”.
- Shipping classes: groups of products (heavy, fragile, letter…) that can each have their own rate.
One fixed rate for the whole order
The simplest method, and often all you need. In the zone you want, add the Flat rate method and enter a cost, for example €6.90. It applies whatever is in the cart.
Multiply shipping costs by quantity
No plugin needed: the “Cost” field of the flat rate accepts formulas.
5 * [qty]: €5 per item;10 + ( 2 * [qty] ): €10 base, plus €2 per item;10 + [fee percent="10" min_fee="4"]: €10 plus 10% of the product total, with a surcharge of at least €4.
With shipping classes, each class can have its own formula. The “Calculation type” then decides whether the classes in the cart are added together (per class) or only the most expensive one is charged (per order).
Shipping costs by cart weight
WooCommerce cannot charge by weight without help. The free Flexible Shipping plugin does it very well: you build a table, for example from 0 to 1 kg, from 1 to 3 kg and over 3 kg, with a price for each band, for each carrier.
One essential condition: enter the weight of every product, in the Shipping tab of its product page. Without a weight, the table has nothing to calculate.
Shipping costs by cart total
Same plugin, same logic: Flexible Shipping accepts conditions on the order amount. For example €7.90 up to €50, €4.90 from €50 to €100, then free.
Free shipping above an amount
It is built in and takes a minute:
- In the zone, add the Free shipping method.
- Under “Free shipping requires…”, choose Minimum order amount and enter the threshold.
- Drag this method to the top of the zone: whenever it is available, it will be selected by default.
Want only free shipping to show once the threshold is reached? A single checkbox does it, as we explain in show only free shipping.
Free shipping with a coupon
- In Marketing > Coupons, create a coupon and tick Allow free shipping.
- Under usage restriction and limits, restrict it to one use per customer if needed, and give it an expiry date (the end of the month, for example).
- In your zone, add a Free shipping method that requires a valid free shipping coupon.
The two can be combined: the method can require a minimum amount, a coupon, either one, or both.
A tracked letter for some products only
You mostly ship parcels, but some small items fit in an envelope? Then offer tracked letter delivery (La Poste’s Lettre Services Plus, for example) only when the whole cart can travel that way.
- With a plugin: YITH WooCommerce Product Shipping (premium) creates shipping rules product by product or by category.
- Without a plugin: create a “Letter” shipping class for the products concerned, then hide the “Letter” method as soon as another product is in the cart, with code like the snippet at the end of this article.
Delivery to pickup points
- Mondial Relay: the official Mondial Relay plugin for WooCommerce is paid, by the year. It lets customers choose a Point Relais or a Locker, and handles label printing and tracking. You need a Mondial Relay business account.
- Colissimo: Colissimo publishes a free plugin that shows pickup points at checkout. We cover it in detail in Colissimo delivery and WooCommerce.
Several carriers with Boxtal
Boxtal connects your shop to several carriers at once: Colissimo, Mondial Relay, Chronopost, Colis Privé, UPS and more. Its WooCommerce plugin shows a map of pickup points at checkout, syncs your orders with your Boxtal account to generate the labels, and brings tracking into the customer account.
You need a Boxtal account. It is the solution we recommend when you want to offer several carriers without a contract with each one.
Local pickup
Since the block-based checkout page, WooCommerce handles several pickup locations natively. In WooCommerce > Settings > Shipping, on the Local pickup tab, add each location with its name, address and practical details (opening hours, conditions). You can also charge a price for pickup.
Two points to know: this feature needs the block-based checkout page, and it is not tied to zones, so it is offered to every customer.
Keep your customers informed by text message
A text message when the parcel leaves reassures the customer and saves you “where is my order?” messages. YITH WooCommerce SMS Notifications (premium) adds a checkbox at checkout: customers choose to receive a text, and you decide which status changes trigger it. The plugin works through an SMS provider, listed on its page.
Add extra fees
Handling, packing or customs fees: the Extra Fees for WooCommerce plugin adds fees based on conditions (products, categories, amount, country…). A free version exists, and the pro version goes further.
Hide a method by category
An example from a client project: as soon as a product from the “Jewellery” category is in the cart, the Mondial Relay methods disappear.
Add this code with a plugin such as Code Snippets, or in the functions.php file of your child theme. Adjust the category slug and the names of your methods:
add_filter( 'woocommerce_package_rates', 'wycan_masquer_livraison_par_categorie', 10, 2 );
function wycan_masquer_livraison_par_categorie( $rates, $package ) {
$categorie = 'jewellery';
$methodes_a_masquer = array( 'Mondial Relay', 'Mondial Relay Domicile' );
$contient_categorie = false;
foreach ( $package['contents'] as $item ) {
if ( has_term( $categorie, 'product_cat', $item['product_id'] ) ) {
$contient_categorie = true;
break;
}
}
if ( ! $contient_categorie ) {
return $rates;
}
foreach ( $rates as $rate_id => $rate ) {
if ( in_array( $rate->get_label(), $methodes_a_masquer, true ) ) {
unset( $rates[ $rate_id ] );
}
}
return $rates;
}WooCommerce caches shipping rates. To test, tick “Enable debug mode” in the shipping settings, then untick it once you have finished testing.
Need help with your shipping costs?
Weight-based rates, several carriers, rules per product: we can set up your shipping rules and test them with you before launch.



