Octolize shipping plugins for every scenario

Shipping illustration Explore plugins

Easy Method to Configure WooCommerce Shipping by Cart Total in Your Store

Shipping by Cart Total in WooCommerce Store
Author Bartosz Gajewski
Updated:
2018-08-13
Reading time:
5 minutes read

In this article, I’ll show you how to configure WooCommerce shipping by cart total in your store. This way the final shipping cost will depend on the total cost of your customer’s order. The method is simple so this article won’t be long 🙂 Let’s begin!

Introduction to Shipping Configuration

Configuring shipping settings is a crucial step in setting up an ecommerce store, as it directly affects the shipping costs and options available to customers. Shipping costs can be calculated based on various factors, including the shipping method, shipping zones, and shipping classes. Understanding how to configure shipping settings can help store owners provide flexible shipping options to their customers, which can lead to increased customer satisfaction and loyalty.

In WooCommerce, shipping settings can be configured using the shipping zones. This system allows store owners to add multiple shipping methods, including flat rate, free shipping, and table rate shipping. By setting up these shipping options, store owners can ensure that their customers have a variety of choices at checkout, catering to different needs and preferences. Whether it’s offering free shipping for orders over a certain amount or providing expedited shipping options, configuring your shipping settings effectively can make a significant difference in the overall shopping experience.

WooCommerce Shipping by Cart Total in Action

There is something I really don’t want to do. It’s wasting people’s time. That’s why I decided to show you the final effect at the beginning. This way you will get sure that this is what you are looking for!

So, first, I’ll show you how it works. Then, I’ll show you what plugin you need and how to get it. The plugin is free! The plugin can calculate shipping costs based on cart totals, making it easier to manage shipping expenses. The last step is to configure the plugin. I’ll cover that topic in this article, too.

Let’s begin with the checkout page. You know it. There is no change to this page. The only different thing you can see is the shipping method:

WooCommerce shipping cost based on totals at checkout

My awesome shipping method is the shipping method’s title.

£10.00 is the price of the shipping method. It changes dynamically. That’s the WooCommerce shipping by cart totals feature you want to have in your store.

The best shipping method you have ever seen! is the shipping method’s description. It’s optional. You don’t have to use it at all.

But does the ‘WooCommerce shipping by cart total’ feature really work?

Of course, just look at the screenshots I made for you. You can see them below. But first, you have to know the rules I configured based on order totals:

  • £15.00 of shipping cost for orders from £0 to £100
  • £10.00 of shipping cost for orders from £100.01 to £200.00
  • £5.00 of shipping cost for orders from £200.01 to £300.00
  • £1.00 of shipping cost for orders from £300.01
  • there is no free shipping available. Offering discounts can encourage higher cart totals and boost sales.

First rule in action:

WooCommerce shipping by cart total - £15

With the total of £126.00 there is £10.00 of shipping cost:

WooCommerce shipping by cart total - £10

Another rule works as we expected:

WooCommerce shipping by cart total - £5

And here is the £1.00 shipping:

WooCommerce shipping by cart total - £1

Flexible Shipping

You need a plugin to configure your shipping methods to work like this. The plugin name is Flexible Shipping. We are the plugin’s developers. It’s available to download for free from WordPress.org.

This plugin is very popular. Over 100,000 stores worldwide use it on a daily basis.

Flexible Shipping WooCommerce

The best Table Rate Shipping for WooCommerce. Period. Create shipping rules based on weight, order totals or item count.

Go to WordPress.org or Download for free
100,000+ Active Installations
30-day money back guarantee
Last Updated: 2025-05-05
Works with WooCommerce 9.5 - 9.8.x

There are a lot of reviews. People really appreciate our work. That’s very nice 🙂

Look at some exemplary review:

Flexible Shipping Review

Don’t regret as our user so that he didn’t find this plugin earlier! Install it immediately! I’ll guide you through the configuration process later in this article.

There is also available the PRO version of the Flexible Shipping plugin, which extends the functionalities of the free version.

Flexible Shipping PRO WooCommerce
99.00

The best Table Rate Shipping for WooCommerce. Period. Create shipping rules based on weight, order totals or item count.

View Details or Add to cart
100,000+ Active Installations
30-day money back guarantee
Last Updated: 2025-05-05
Works with WooCommerce 9.5 - 9.8.x

Want to learn more about Flexible Shipping PRO features? Check out our dedicated playlists!

To install Flexible Shipping, you just need to type the name in the Plugins – Add New.

You won’t miss it for sure:

Flexible Shipping installation

As you can see on the screenshot above, there is also a WooCommerce UPS Shipping plugin available. It’s very useful. It works worldwide and it calculates shipping costs automatically online. It also integrates live rates from courier APIs like UPS, providing real-time shipping cost calculations.

Learn more about it in our WooCommerce UPS Shipping Guide →

Configuration

Once you install and activate the Flexible Shipping, you can configure it. This way you will get the ‘WooCommerce shipping by cart total’ feature in your store.

Simply go to WooCommerce → Settings → Shipping.

There you have your shipping zones.

Click on the one which you want to add the feature to. I have the ‘UK’ shipping zone:

Shipping zones

Next, click the Add shipping method button:

Add shipping method

Choose the Flexible Shipping:

Add shipping method: Flexible Shipping

Once you created the Flexible Shipping method, click it.

You will see this screen:

Shipping by cart total WooCommerce configuration

As you see, I configured the Method Title and Method Description. I described them earlier in this article. You can configure the Free Shipping in here, too. But that’s optional.

The Rules are the most important for us. We will use them to create rules to implement WooCommerce shipping by cart total feature.

As you see, you just need to select Price as the type. Then you provide the price range for the rules. The last thing you need to do is to provide a cost per order for a rule. These shipping cost calculation rules allow you to optimize delivery costs based on various criteria.

Flexible Shipping has many more options available. You can use some of them such as Visibility or Calculation Method. Additionally, the plugin can help increase the average order value by encouraging customers to add more items to their cart to qualify for better shipping rates. However, that’s not all! We developed the PRO version of this plugin.

Summary

By following this guide, you’ve learned how to configure WooCommerce shipping based on the total value of a customer’s cart using the Flexible Shipping plugin. This method allows you to offer dynamic shipping rates that adjust depending on how much your customer spends—encouraging larger purchases while maintaining control over shipping costs.

The setup is straightforward: install the free Flexible Shipping plugin, define your shipping rules by setting price ranges, and assign appropriate shipping fees to each range. This approach gives you full flexibility and ensures your customers are presented with fair, transparent shipping rates at checkout.

Whether you’re running a small shop or a growing ecommerce business, this feature can make a real difference in both user experience and profitability. Don’t forget—over 100,000 stores already trust Flexible Shipping, and with the additional capabilities offered by the PRO version, you can scale your setup even further.

If you found this method useful or have any questions, we’d love to hear your thoughts in the comments section below!

FAQ – Frequently Asked Questions

1. Do I need to install any plugins to enable shipping by cart total in WooCommerce?

Yes, you’ll need the Flexible Shipping plugin, which is available for free on WordPress.org. It allows you to create shipping cost rules based on cart totals and other conditions.

2. Is the Flexible Shipping plugin really free?

Absolutely. The core version of Flexible Shipping is free and includes all the features needed to set up shipping costs based on cart value. There’s also a PRO version available with more advanced options if you need them.

3. Can I offer free shipping with this method?

Yes, the plugin allows you to configure free shipping based on cart total or other conditions. Just create a rule with “£0” as the shipping cost for a specific price range.

4. Will this method work with other shipping zones?

Yes. You can apply Flexible Shipping to any shipping zone you’ve configured in WooCommerce. Just go to WooCommerce → Settings → Shipping, select the zone, and add the Flexible Shipping method there.

5. Can I combine this method with other shipping conditions, like weight or item count?

Yes, with the PRO version of Flexible Shipping, you can create more complex rules using multiple conditions such as weight, item count, shipping classes, and more.

6. Does this solution support real-time shipping rates from couriers?

Not directly. The method shown here uses static rules based on cart total. However, if you need real-time rates from couriers like UPS or FedEx, Octolize also offers dedicated plugins that integrate with courier APIs.

7. Is this setup mobile-friendly and compatible with most themes?

Yes, the Flexible Shipping plugin works seamlessly with most modern WordPress themes and is fully responsive on mobile devices.

8. What happens if a customer’s cart doesn’t match any of the defined shipping rules?

If no rule matches the cart total, WooCommerce will not display a shipping method for that zone. Make sure to cover all price ranges to avoid this issue.

 

Comments
Subscribe
Notify of
guest
21 Comments
Inline Feedbacks
View all comments
Tinashe Yadley Nyangombe
Tinashe Yadley Nyangombe
5 years ago

This article saved the day for me. What a sweet and simple way to used custom shipping rates based on cart totals. You have no idea how much this article has helped me, thank you very much!

Adrianna
Adrianna
Reply to  Tinashe Yadley Nyangombe
5 years ago

Thank you for kind feedback, I am very glad that the tips presented have helped you in the configuration of the shipment.

Matteo Padovan
Matteo Padovan
5 years ago

Hi,

Is it possible to calculate the shipping cost on the Subtotal, instead of the total?
When I apply a Coupon the price goes down but I’d want to maintain the shipping cost the same, is it possibile to do this?

Thanks,
Matteo

Łukasz Spryszak
Łukasz Spryszak
Reply to  Matteo Padovan
5 years ago

Hi Matteo, I’m afraid it is unfortunately not possible yet at this moment. Our Flexible Shipping plugin hooks into the WooCommerce calculation methods and takes
the values from the cart, where the discounts are already applied. However, we receive many questions from our customers about such feature and we plan to implement it in the one of the future updates.

Ángel Rodríguez
Ángel Rodríguez
5 years ago

With this plugin, can you calculate the shipping costs on the total price of the products, including VAT? On my chekout page, products appear without VAT and shipping costs are calculated in the subtotal without VAT. I need to calculate the expenses on the total, including VAT. If so, how would it be done, because I can’t find a way to do it?
Thank you so much.

Łukasz Spryszak
Łukasz Spryszak
Reply to  Ángel Rodríguez
5 years ago

Hello Angel, Flexible Shipping hooks into and uses the product’s price so if you have set the prices to be exclusive of tax: http://wpdesk.me/mp/qw54w.png, our plugin won’t add the tax while calculating the shipping costs. To have the tax included you will need to turn it on in the shipping method and set the prices to be displayed with tax at WooCommerce Tax settings: http://wpdesk.me/mp/qw54w.png.

Ángel Rodríguez
Ángel Rodríguez
Reply to  Łukasz Spryszak
5 years ago

Hi Lukasz.
Thank you very much for your answer.

Sweet P Web
Sweet P Web
5 years ago

Super helpful and the cart based shipping cost is exactly what I needed. Thanks!

Łukasz Spryszak
Łukasz Spryszak
Reply to  Sweet P Web
5 years ago

Thank you for the kind words. We’re glad it met your needs.

Caroline Bartlett
Caroline Bartlett
4 years ago

I have followed through the instructions, cleared all the caches I can find but for some reason none of my flexible shipping costs show on either of mine or my nephews mobile devices, at the moment they show no shipping costs at all. Any help or advice will be greatly appreciated

Łukasz Spryszak
Łukasz Spryszak
Reply to  Caroline Bartlett
4 years ago

Hi Caroline, from what you have written I suppose something wasn’t configured properly. Maybe the shipping zone isn’t matched right or your shipping methods’ cost calculation rules are not being triggered correctly. Have you tried enabling the Debug mode at Flexible Shipping method’s configuration screen Advanced Options section?

Nitesh Mori
Nitesh Mori
3 years ago

Hi All,
I have issue regarding the flexible shipping charge.
How can I add flexible shipping charges based on total while ordering the products?
How can we adding custom / manually code?

Any help or advice will be greatly appreciated.

Łukasz Spryszak
Łukasz Spryszak
Reply to  Nitesh Mori
3 years ago

Hi Nitesh, just to make sure if I got everything right – do you want the shipping cost to be fixed value, e.g. $15 and want to have it applied based on the order total price or should be calculated dynamically as a percentage of the order total value, e.g. always 10%?

nick
nick
3 years ago

can you have different rates for different amount to different countries

Łukasz Spryszak
Łukasz Spryszak
Reply to  nick
3 years ago

Hi Nick, sure, you can define the different rates and different shipping cost calculation rules for each Flexible Shipping method within every shipping zone you have configured in your shop.

Maria
Maria
3 years ago

Can rules be based on Distance? Not cost? For examle, if distance is from 0 to 10 km – the total shipping is 5 dollars e t c. thanks

Łukasz Spryszak
Łukasz Spryszak
Admin
Reply to  Maria
3 years ago

Hi Maria, I’m afraid that unfortunately defining the shipping cost calculation rules based on the distance the way you described it is not possible at the moment using our Flexible Shipping PRO plugin. Nevertheless, since we are being frequently asked about such possibility, we plan to implement it in the one of the future updates. I’ve added you to the list of people interested in such feature and you will be notified as soon as the proper update is released.

przemyslaw.proszowski
przemyslaw.proszowski
Reply to  Maria
2 years ago

@Maria Some time ago, you asked us about a distance-based shipping cost.

I’m glad to inform you that we have just released a brand-new Flexible Shipping add-on – Distance Based Shipping Rates for WooCommerce.

You can now use this plugin to define the cost calculation rules to be based on the distance or duration of the products’ delivery between your store and the customer’s address. This plugin works with Google Maps API.

Looking forward to your feedback!

Rajesh
Rajesh
2 years ago

This is very helpful article for me. it’s save my lot’s of time and tension.

Darren
Darren
2 years ago

Will this work if there are 2 types of customers each with their own set of shipping values? For example – Retail Orders ship free on orders over $95; Wholesale Orders ship free on orders over $250.

Karolina Burnagiel
Karolina Burnagiel
Reply to  Darren
2 years ago

Hi Darren, you can achieve such a scenario based on condition USER ROLE. This condition is available in the Flexible Shipping PRO. The best option here would be creating 2 shipping methods – 1st for retail order and 2nd for Wholesale Orders. Please have in mind that this will work, if your customers will have assigned proper user role.