Skip to content

WooCommerce free shipping over a set amount: step-by-step setup

· The AYT team · 5 min read

Person tying string around a cardboard parcel on a white table

Free shipping above a set amount needs no plugin in WooCommerce: you add the Free shipping method to your shipping zone, choose the "A minimum order amount" requirement and enter the amount, for example 200 lei (Romanian lei). Customers see the free option in the cart and at checkout only once the value of their products reaches the threshold.

Before you start: the shipping zone

WooCommerce's shipping methods live in zones. If you only sell in Romania, you need one zone that contains Romania. If you already have separate zones (for example Bucharest and the rest of the country), free shipping has to be added to each zone where you want to offer it.

You'll find them under WooCommerce → Settings → Shipping → Shipping zones.

Step 1: add the Free shipping method

  1. Go to WooCommerce → Settings → Shipping → Shipping zones.
  2. Click Edit on the Romania zone.
  3. Click Add shipping method, choose Free shipping and click Continue.
  4. Under Name, enter the text customers see, for example "Free courier delivery".

Step 2: set the minimum amount

In the method's settings, "Free shipping requires" has five options:

Option When free shipping appears
No requirement Always, for everyone in the zone
A valid free shipping coupon Only with a coupon that grants free shipping
A minimum order amount When the order reaches the minimum
A minimum order amount OR coupon At the minimum, or with a coupon
A minimum order amount AND coupon Only when both conditions are met

For "free shipping over 200 lei" choose "A minimum order amount" and enter 200 under "Minimum order amount". Save.

If you also want to hand out free shipping coupons for smaller orders (say, to returning customers), choose "A minimum order amount OR coupon". You create those coupons separately, with "Allow free shipping" ticked; see the guide to WooCommerce coupons.

Step 3: decide how coupons affect the threshold

When you choose an option with a minimum amount, a checkbox appears: "Apply minimum order rule before coupon discount":

  • unticked (the default): the threshold is checked after the discount. A 220-lei order with a 30-lei coupon drops to 190 lei and loses free shipping;
  • ticked: the threshold is checked before the discount. The same order keeps free shipping.

The first protects your margin, the second is friendlier to customers: someone who loses free shipping right after applying a coupon may abandon the order.

Step 4: hide the other rates when shipping is free

By default WooCommerce shows every available method, so the customer sees both "Courier: 19 lei" and "Free delivery". Most pick the right one, but some don't notice.

Since WooCommerce 9.9 the option is under WooCommerce → Settings → Shipping → Shipping settings, in Calculations: "Hide shipping rates when free shipping is available". Tick it and save.

On a version older than 9.9, a small snippet in your child theme's functions.php does the same:

add_filter( 'woocommerce_package_rates', function ( $rates ) {
    $gratuit = array();
    foreach ( $rates as $id => $rate ) {
        if ( 'free_shipping' === $rate->method_id ) {
            $gratuit[ $id ] = $rate;
        }
    }
    return $gratuit ? $gratuit : $rates;
}, 100 );

If you also offer Local pickup, add it to the filter so it stays visible: the condition becomes in_array( $rate->method_id, array( 'free_shipping', 'local_pickup' ), true ).

Free shipping and courier plugins

Plugins for Romanian couriers such as Sameday, FAN Courier or Cargus add their own shipping methods, with the rate calculated by the courier. WooCommerce's Free shipping method knows nothing about them: once the order passes the threshold, the customer picks "Free delivery", and you create the waybill (AWB) at your usual rate.

Some courier plugins have their own "free shipping above amount X" field, which keeps the courier's method (and, for example, the customer's choice of easybox or locker). Check the plugin's settings before you add WooCommerce's method too, so you don't end up with two different thresholds. The guides for Sameday and FAN Courier show where those settings are.

Tell customers how far they are from the threshold

Customers only chase a threshold they know about. A banner in the site header ("Free shipping on orders over 200 lei") and a message in the cart ("Add 35 lei more and delivery is free") push them to add one more product. For the cart message there are free "free shipping bar" plugins; pick one that reads the amount straight from the Free shipping method's setting, so the threshold lives in one place.

Check before launch

  1. Put products under the threshold in the cart: you should only see the courier rates.
  2. Add products until you pass the threshold: free delivery appears (and, if you ticked the option in step 4, only that).
  3. Apply a coupon that takes you below the threshold and check that the result matches what you chose in step 3.
  4. Test with an address from each shipping zone.

If something doesn't show up as expected, tick "Debug mode" under WooCommerce → Settings → Shipping → Shipping settings: the site then shows which zone the customer's address falls into, and rates are no longer served from cache.

Your store on AYT

On AYT's plans you can run all these tests on a staging site created from the WordPress Toolkit, without touching the live store. You edit the code in functions.php from the File Manager, and if a change breaks something, you restore the file from the daily backups, straight from the panel.

More articles

All articles