Are you tired of dealing with small, unprofitable orders in your WooCommerce store? I’ve been there too! Many store owners face this challenge and wonder how to tackle it.
Well, I found a simple and effective solution—setting a minimum order amount(MOA) to checkout. This encourages customers to reach a minimum spending threshold before completing their purchase.
There’s a simple way to set the minimum order amount.
✔ Find out the suitable Dynamic Rule for the MOA
✔ Set up the rule—Apply MOA by user roles and product filter
✔ Define conditions—Configure minimum value requirements based on cart value.
✔ Customize the error notice—Craft a clear message about the MOA
You can also set the minimum order value in other ways – I mentioned some popular methods later in this blog. Let’s first explore why you should use one in your store.
Why Set a Minimum Order Amount?
Besides reducing low-value orders, MOA brings several benefits:
- Covers Shipping and Handling Costs: With MOA, you can easily cover some shipping costs, especially when dealing with free-delivery products.
- Boost Average Order Value (AOV): Setting a minimum order amount encourages buyers to add more products to meet the threshold.
- Improve Customer Experience: The minimum order value lets customers know exactly what’s needed to qualify for a purchase. It will make the checkout process smoother and reduce unwanted frustration.
Now that you know the benefits of MOA, you should implement it in your store. Let’s see how to do it 👇
Methods of Setting a Minimum Order Amount in Woocommerce
I found the “minimum order amount” mentioned in one place in the WooCommerce setting. You would find it while setting up the shipping zone in the free shipping method. There, it’s a requirement you can choose while giving free shipping.
However, this option felt limited, so I looked for a global solution that works regardless of shipping methods or zones. You can set a minimum order amount using either code or a plugin in WooCommerce.
For starters, let’s see how to do it with code. 🧑💼
Implementing Minimum Order Amount with Code
Before editing the code, you should save a backup of your store for safety and rollback purposes. You may also use a child theme to ensure you don’t lose this added code after theme updates.
A simple, effective tweak in your theme file editor can bring this significant change to your store. Let’s go through the step-by-step process now.
Step 1: Access the Theme File Editor
First, go to the appearance tab from your WordPress Dashboard. Find the Theme File Editor at the end and click it. This section allows you to edit your theme’s core files directly.
You will see all the theme files on the right sidebar. Select Functions.php from there to access the theme function.

Step 2: Add the Custom Code
At the end of functions.php, you have to paste the code. Here’s the code for you:
/**
* Set a minimum order amount for checkout
*/
add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' );
add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' );
function wc_minimum_order_amount() {
// Set this variable to specify a minimum order value
$minimum = 50;
if ( WC()->cart->total < $minimum ) {
if( is_cart() ) {
wc_print_notice(
sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order ' ,
wc_price( WC()->cart->total ),
wc_price( $minimum )
), 'error'
);
} else {
wc_add_notice(
sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order' ,
wc_price( WC()->cart->total ),
wc_price( $minimum )
), 'error'
);
}
}
}
In this code:
- $minimum = 50; : This is the minimum order value. Change it to your desired amount.
- wc_add_notice : This displays an error message when customers try to check out below the required value. You can customize the message to match your brand’s tone.

💡Pro Tips
I have used Storefront theme for this purpose and it’s functioning. You may try with another theme if you prefer. But if you face any issues with other themes, please let us know.
Step 3: Save & Test the Functionality
Click the Update File button to save the changes. Now, try adding products to your cart and proceeding to checkout. If the total is below the set amount, an error message should appear.
💡Pro Tip: If you ever need to disable this restriction, simply remove the added code from the function.php file.
Not comfortable with coding? No worries! Let’s check out a simpler way using a plugin.🚀
Applying a Minimum Order Amount Using Plugins
If you’re looking for a more flexible and user-friendly way, plugins are your option. There are several plugins for WooCommerce that can set minimum order values. Such as,
- WholesaleX
- Minimum, Maximum, Fixed & Default Quantity for WooCommerce
- Min Max Quantity & Step Control Single
For this guide, I’ll use WholesaleX, which provides an easy way to set MOA through Dynamic Rules.
Step-by-Step Guide to Set Minimum Order Amount by WholesaleX
WholesaleX is one of the best plugins for hybrid store management. It is the simplest woocommerce solution with wholesale prices, tiered pricing, dynamic rules, etc.
You can set a minimum order amount in WooCommerce with WholesaleX’s dynamic rule. I will provide you with a step-by-step guide to do it. But before that, you need to meet some requirements.
👉 You have to install and activate the WholesaleX plugin on your site. Follow the official documentation for a seamless installation process 👈
Step 1: Navigate the WholesaleX Setting
After activation, you will find the WholesaleX tab in the WordPress sidebar. Go to Dynamic Rules from the WholesaleX Dashboard.
You’ll find an interface here, click Create Dynamic Rules.

Step 2: Configure the Dynamic Rule
After entering the dynamic rule setting, you will find several options like Rule title, type, product filter, etc. Let’s set these things up.
First, you should select the rule type. To set the MOA, I selected the Checkout Restriction type. This makes sure customers can’t place an order unless they meet the minimum amount at checkout.

You should add a title for this rule, for example, I named it “Minimum Order Amount.” Then, you have to select the user/role.
After clicking the user/role option, you will see multiple options to select from. I chose all registered users for now.

You can learn more about creating WholesaleX’s user roles from our detailed blog post. Don’t forget to check it.
After that, you need to set the product filter. Like the user role, you will find a dropdown option to select from. To demonstrate purpose, I choose all products.

Step 3: Set the Minimum Order Conditions
Next, go to the Conditions tab. Here, you can set the requirements on which the checkout restriction would apply. You can set the condition based on weight, quantity, or value.
Similarly, you can choose the Operation less than, greater than, or equal. You should check out the conditions documents to know more about it.
For this demonstration, I choose these options:
- In the condition box, I chose Cart – Total Value.
- In the operation box, I choose Less than or Equal (<=)
- I have set the amount to $100 to fulfill the condition

Setting this condition means customers won’t be able to proceed to checkout under $100 in cart value.
Moreover, you can schedule this rule from the date & limit rule. Set the start and end date here to make this rule a limited time.

Step 4: Customizing Error Notice
You can customize the error message to notify the customers about the value of the minimum order. Go to the Settings option from the WholesaleX Dashboard, then enter the Dynamic Rule.
Scroll down to find the Checkout Restriction, and enter your preferred message in the box.

Pro Tips
You can also dynamically customize the message. To make the message dynamic, use the smart tag {cart_value}. This will instantly update the message on the frontend whenever you change the conditions.
Step 4: Save & Check the Function
Finally, you need to toggle the Publish button for the upper right corner and hit the Save button.

To check the functionality, you should try to add the product and proceed to the checkout page. Let’s see how my store reacts when I attempt to proceed without minimum order value.

Things to Consider while Configuring a MOA
We already know the minimum order amount will increase the average order value. It’s a lucrative principle to implement, but you need to keep these things in mind, too:
- Define the purpose of MOA
You need to have a clear purpose for using MOA. Do you want to cover shipping costs? Or do you want to encourage bulk ordering? This way, you can cruise your store’s direction.
- Don’t set the bar too high
You should set the amount within a reasonable reach. Setting a high minimum amount will drive your customers away.
- Choose your product carefully
You have to identify which product will bring better revenue from this feature. Randomly selected products will work in reverse.
- Craft a clear, interactive message
You should inform the customers with a polite notice. Confused and annoyed customers will bounce to your rivals.
- Ensure a smooth user experience
To ensure a smooth user experience, you should test the whole functionality before going live. Change the settings at your convenience to get maximum utility.
Why Should You Use WholesaleX?
Setting a minimum order amount in WooCommerce isn’t the only powerful feature WholesaleX offers. You can take things further by setting minimum and maximum order quantities. Additionally, you can add quantity-based discounts in your store.
Setting Min/Max Order Quantity in Woocommerce
Just like the minimum order amount, you can adjust the order quantity too with WholesaleX. The main difference is– MOA depends on the total cart value of the order, whereas MOQ works with the quantity of the product.
For example, with a minimum order quantity, you can encourage customers to buy an increased number of products. With maximum, you can limit the purchase quantity to a fixed number.
You can set up the order quantity in the same way as the order value. Just select the minimum/maximum order quantity instead of the checkout restriction.

Add the quantity value in the box to set it up. To know details about order quantity, check out our blog.
What Else Are There?
If you operate in a wholesale market, you should explore the features of WholesaleX. It has a wide range of utility, which makes it an ultimate tool for store owners like you.
✅Versatile functionalities: WholesaleX can manage both your B2B and B2C operations. Its hybrid nature lets you manage in both dimensions effortlessly.
✅Diverse Dynamic Rules: You can set a handful of dynamic rules to steer your store toward any goal. Which makes it a master of all trades.
✅ Wallet: Offer a WholesaleX wallet to selected customers to boost engagement and interaction.
✅ Conversation: Easily communicate with customers for quotes, requests, and personalized support.
✅Various user role-based sorting: You can set the roles of various users from your store’s registration. It will help you distinguish them by category and implement tiered pricing/discounts.
Final Words
Setting a minimum order amount in WooCommerce helps boost profits and create a better shopping experience. Whether you use code or a plugin, it’s an easy but impactful change for your store.
If you’re comfortable with coding, it’s the best and quickest way to set MOA. Otherwise, if you want to just set the amount, single dedicated plugins would be best.
On the other hand, if you’re new to WooCommerce wholesaling, I’d recommend starting with WholesaleX. It’s simpler and offers more flexibility for managing the hybrid nature of businesses.
So, what’s your ideal MOA? Let me know in the comments! 🚀
FAQs
Can I Set Different MOAs for Different Customer Types?
Yes! With WholesaleX, you can apply different MOAs based on user roles like wholesalers, retailers, or VIP customers. You need to create different tiers to sort your customer types.
How Can I Apply MOA to Specific Product Categories?
In WholesaleX, you can set conditions based on product categories, ensuring only selected items are affected. Check the Product Filter option and choose the categories (not) in list.
Can I Set the Maximum Order Amount?
Yes, you can set the maximum order amount from WholesaleX. In the conditions tab, change the operator to greater than or equal option. However, nobody would do it because you don’t want to limit your revenue.
Is Minimum Order Price the Same as MOA?
Not quite! “Minimum Order Amount” refers to the total cart value a customer must reach to check out. Some people confuse this with “Minimum Order Price,” which could imply a restriction on the price of individual products.