How to Set Purchase Limits on Your WooCommerce Cart

by Owais Alam  August 2, 2016

WooCommerce offers several ways of setting the parameters  for WooCommerce purchase limit. Although the steps are different, the outcome is often identical. However, I consider the following steps to be very effective. I  will use the woocommerce_check_cart_items action provided by WooCommerce to run the functions and execute the code.  


Setting a Minimum Weight Requirement For WooCommerce Purchase Limit

Many stores often do not allow their customers to checkout until the weight of the purchase does not exceed a pre-set limit. Minimum weight requirements significantly reduce delivery costs and the process becomes more streamlined. Bear in mind that all weight calculations are carried out in weight units set under WooCommerce – > Settings – > Products.

Place the following code in the functions.php, located in the theme folder.

Set Purchase Limits on WooCommerce

Setting a Minimum Dollar Amount per Order

A minimum dollar amount is another important restriction on the store. Minimum dollar amounts are often used to keep all transactions at a common base value per transaction. To set this limit,  use the following code

min amountConclusion

WooCommerce permits you to utilize actions and filters to change the ordinary checkout process. I hope that you will implement these two limits to your WooCommerce store. If you need clarification or wish to contribute to the discussion, please leave a comment below.

Start Creating Web Apps on Managed Cloud Servers Now!

Easy Web App Deployment for Agencies, Developers and E-Commerce Industry

About Owais Alam

is the WordPress Community Manager at Cloudways – A Managed WooCommerce Hosting Platform and a seasoned PHP developer. He loves to develop all sorts of websites on WordPress and is in love with WooCommerce in particular. You can email him at

Stay Connected:

You Might Also Like...