Order Limit for WooCommerce

Introduction

↑ Back to top

Order Limit for WooCommerce is a WooCommerce extension by Xfinity Soft that sets minimum and maximum order limits in your store. You can limit how many items, or how much money, shoppers can buy of a product, a variation, a category, a vendor’s products or the whole cart. You can limit how many orders each customer places, or how much they spend, per day, week, month or year. And you can limit how many orders your whole store takes.

Shoppers see the limit before they buy: on the product page, in the shop, in the cart and at checkout, in words you choose. An order that breaks a limit is stopped at checkout, with the Cart and Checkout blocks and with the classic cart and checkout.

Store owners use Order Limit to:

  • Stop one shopper from buying all of a sale item or a product with low stock.
  • Set a minimum order amount, like $25, or a wholesale minimum of 20 items.
  • Limit orders per customer, like one order a day.
  • Take only as many orders as they can make or ship each day.
  • Restrict orders by payment method, like Cash on delivery up to $200 a day.
  • Run a limited release: 100 in total, then it is sold out.

This guide is for Order Limit for WooCommerce 6.0 and later. Version 6 keeps everything on one new screen, Order Limit in the WordPress menu. When you update from version 5, your rules, settings, messages and exclusions move across by themselves, and old links to WooCommerce > Settings > Order Limit open the matching new page.

What you can limit

↑ Back to top
Kind of limitWhat it limitsExample
ProductsItems or money spent on one or more products or variations, in each order or over time.Canvas Tote Bag: 2 to 5 per order.
CategoriesItems or money spent in one or more categories, sub-categories included.Up to 3 hats a week for each shopper.
Cart totalThe whole cart, by money spent or by number of items.Orders of at least $25.
CustomersHow many orders a shopper places, or how much they spend, over a time you choose.One order a day per customer.
VendorsWhat shoppers buy from each vendor shop on a WC Vendors marketplace.2 to 6 items from Northwind Studio.
The whole storeHow many orders, or how much in sales, your store takes. Set under Settings.200 orders a day, then stop.

Requirements

↑ Back to top
  • WordPress 6.2 or later.
  • WooCommerce 8.0 or later.
  • PHP 7.4 or later.

Order Limit works with the Cart and Checkout blocks, the classic cart and checkout, and High-Performance Order Storage (HPOS). Vendor limits need WC Vendors. Limits for members need WooCommerce Memberships.

Installation

↑ Back to top
  1. Download the .zip file from your WooCommerce.com account: My Account > Downloads.
  2. In your WordPress admin, go to Plugins > Add New Plugin > Upload Plugin and choose the file.
  3. Click Install Now, then Activate Plugin.
  4. Go to Order Limit in the WordPress menu.

Updating from version 5

↑ Back to top

Update as usual. The first time you open Order Limit, your rules, settings, messages and exclusions move to the new screen. Nothing is deleted, and messages you wrote stay exactly as you wrote them.

If you use the free version

↑ Back to top

When you turn on Order Limit for WooCommerce, it turns the free version off, because it does everything the free version does. Your limits, settings and messages are kept.

Getting started

↑ Back to top

The Order Limit screen

↑ Back to top

Go to Order Limit in the WordPress menu. Everything is on one screen, in four tabs:

Order Limit screen in WooCommerce with the Limits, Messages, Settings and Exclusions tabs and the Getting started checklist
  1. The tabs: Limits (all your limits), Messages (the words shoppers see), Settings (what shoppers see, store limits and how orders are counted) and Exclusions (products left out of limits).
  2. The first time, a short Getting started checklist offers the most used templates. Click one to start.
  3. See all templates opens every template.
  4. Start from scratch opens an empty limit.

You can hide the checklist any time.

Start from a template

↑ Back to top

Click Add limit on the Limits tab. Templates are ready-made limits for what most stores need. Pick one, change anything you like, and save. Search the templates (1), or click Start from scratch (2) for an empty limit.

Order limit templates in WooCommerce, grouped by products, categories, the whole cart, customers and the whole store
GroupTemplates
ProductsMaximum per product, Pack minimum, Daily maximum per product, Weekly maximum per product, A limit for each size, Launch day limit, Limited release
CategoriesCategory maximum, Category minimum, One category per order
The whole cartMinimum order value, Most items in a cart, Wholesale minimum, Wholesale buyers minimum, Cash on delivery limit
CustomersOne order a day per customer, Monthly spending limit, Limit for guests
The whole storeDaily order limit for the store, Close the store for a while

Take the guided tour

↑ Back to top

The first time you open the limit builder, a four-step tour shows what each part does. Click Next to go on, or Skip tour to close it.

Guided tour in the order limit builder, explaining what each step does

Create an order limit

↑ Back to top

Every limit is made in the same steps, from top to bottom. At the end, the limit reads back as one plain sentence, so you can check it before you save. The example below is a product limit: shoppers must buy 2 to 5 Canvas Tote Bags in each order.

Step 1: Choose what you are limiting

↑ Back to top
Step 1 of the WooCommerce order limit builder: name the limit, choose Products and pick Canvas Tote Bag
  1. Name this limit. Optional. Only you see this name, in your list of limits. Leave it empty to use an automatic name.
  2. What are you limiting? Choose Products, Categories, Cart total, Customers or Vendors.
  3. Kind of product. For products, choose Simple products, or Variable products for products with options like size or color.
  4. Pick the products. Type a name or SKU to search. To cover your whole store, choose All products or All categories at the top of the list.
  5. Sell only with other products. Optional. Pick another limit, and shoppers can buy these products only when the products of that limit are in their cart too.
The five kinds of order limit: products, categories, cart total, customers and vendors

Vendors appears when WC Vendors is active. Members appears under “Who does it apply to?” when WooCommerce Memberships is active.

Step 2: Set the minimum and maximum

↑ Back to top
Set a minimum and maximum quantity for a WooCommerce product: at least 2 and at most 5 items
  1. Choose what to count: Number of items or Money spent.
  2. Enter the minimum in At least.
  3. Enter the maximum in At most. Leave it empty if there is no upper limit.

A cart with exactly the minimum or the maximum is allowed. With at least 2 and at most 5, shoppers can buy 2, 3, 4 or 5.

Step 3: Count products together or separately

↑ Back to top
Count each product on its own, or all the picked products together, in an order limit
  1. Each product separately. Each product you picked has its own limit. With two products picked, shoppers can buy 2 to 5 of each.
  2. All of them together. One limit for everything you picked. Shoppers can buy 2 to 5 items in total from those products.

Step 4: Choose who the limit applies to

↑ Back to top
Choose who an order limit applies to: all shoppers, guests, named customers or user roles, and payment methods
  1. Choose who is limited: All shoppers, Guests only, Named customers (the customers you pick), User roles (like Wholesale buyer), or Members of WooCommerce Memberships plans.
  2. Turn on Only for certain payment methods to apply the limit only when the shopper pays with a method you pick, like Cash on delivery. This is checked at checkout, after the shopper picks how to pay.

Step 5: Count what shoppers bought before

↑ Back to top

Choose whether only the cart counts, or also what the shopper bought earlier:

  • Only this cart. Each order is checked on its own.
  • This cart plus what the shopper bought earlier. What the shopper already bought in the period counts toward the limit. This is how you make a daily, weekly, monthly or yearly purchase limit.
  • All shoppers share one limit. Everyone’s orders count together, like 100 sold in total. Good for limited stock.
Count what a shopper bought earlier the same day, week, month or year in a WooCommerce purchase limit

In Count orders from, choose the period: the same day, the same week (and the day it starts), the same month, the same year, the last few days, or two dates you choose. The line under it tells you when counting starts again, in your store’s time zone. Each period follows the settings under When daily, weekly, monthly and yearly limits reset.

For a limit checked in each order, you can still run it between two dates only: turn on Only between two dates under Only this cart. This is how the Launch day limit template works.

Step 6: Check the message

↑ Back to top
Preview of the exact message the shopper sees, before the order limit is saved
  1. Shopper sees shows the exact message a shopper gets when this limit stops them.
  2. Turn on Write a message for this limit only to write a message just for this limit.
  3. Or click Edit it in Messages to change the shared message for every limit of this kind.

Check the sentence and save

↑ Back to top
The order limit read back as a plain sentence, with the on/off switch and the Save button
  1. The limit reads back as a sentence, like “Shoppers must buy at least 2 and at most 5 items of Canvas Tote Bag, counted separately, for all shoppers, checked in each order on its own.” Click an underlined part to change it.
  2. Limit is on is on by default. Turn it off to save the limit now and start it later.
  3. Click Save limit. The limit works straight away.

The same builder opens when you edit a limit. The button then reads Save changes.

Order limit examples

↑ Back to top

These examples cover the most common limits. Each lists the settings to choose in the builder.

Minimum and maximum quantity per product

↑ Back to top

Shoppers must buy 2 to 5 Canvas Tote Bags in each order.

  • What are you limiting: Products, Simple products, Canvas Tote Bag.
  • How much: Number of items, at least 2, at most 5.
  • Counted: Each product separately. Who: All shoppers. Count: Only this cart.

Shoppers see “Buy 2 to 5 of this item per order.” on the product page, and the quantity box starts at 2 and stops at 5. See What shoppers see.

A limit for each size or color (variable products)

↑ Back to top

Shoppers can buy up to 3 Plain T-Shirts of each size in an order.

Limit a WooCommerce variable product: count all variations together or give each size its own limit
  1. Choose Products and Variable products.
  2. Pick the variable product, Plain T-Shirt.
  3. In How to count variations, choose Each variation separately: each variation has the limit on its own. Choose Count all variations together to count all sizes as one.

A variation can also have its own minimum and maximum. Go to Products, edit the product, open Variations and open the variation. Tick Own minimum and maximum for this variation and enter the numbers. Leave a box empty to use the limit’s own number.

Own minimum and maximum quantity for one product variation, under Variations on the product page

A variation’s own numbers are used by product limits set to Each variation separately.

Category limit per week

↑ Back to top

Each shopper can buy up to 3 items from the Hats category each week, counting what they bought earlier that week.

Create a category order limit in WooCommerce for the Hats category
Limit how many items from a category each shopper can buy per week, counting earlier orders
  • What are you limiting: Categories, Hats.
  • How much: Number of items, at most 3.
  • Count: This cart plus what the shopper bought earlier, from the same week, starting Monday.

Products in sub-categories of Hats count too, at any depth.

Sell a product only with other products

↑ Back to top

In step 1, Sell only with other products lets you sell products only together with others. Pick another limit: shoppers can buy these products only when the products of that limit are in their cart. For a category limit, a product from each of its categories must be in the cart. For example, sell gift wrap only with a bag.

Sell a product only together with the products of another limit in WooCommerce

Minimum order amount (cart total limit)

↑ Back to top

Orders must be at least $25.

Set a minimum order amount in WooCommerce with a cart total limit of at least 25 dollars
  1. What are you limiting: Cart total.
  2. How much: Money spent, at least 25. Add a maximum if you also want one, like 500.
  3. Optional: turn on Leave shipping out so shipping does not count toward the total.

A cart total limit can also count items, apply to chosen shoppers or payment methods, and run between two dates.

One category per order

↑ Back to top

To stop shoppers mixing products from two categories in one order, turn on Allow products from only one category per order under Settings > When a limit is not met. It works while cart total limits are turned on.

Limit orders per customer

↑ Back to top

Each shopper can place one order a day.

Limit WooCommerce orders per customer: each shopper can place at most 1 order
  1. What are you limiting: Customers.
  2. How many orders, or how much spending: Number of orders, at most 1.
  3. Whose orders count: Each shopper on their own. Choose All shoppers together for one count for the whole store.

Then choose the time the limit covers in Over what time?:

Choose the time a customer order limit covers: the same day, week, month, year, the last few days or two dates

Choose Money spent instead to limit how much each customer spends, like $1,000 a month. A shopper who reaches the limit is stopped at checkout and told when they can order again.

Limit orders by payment method

↑ Back to top

Cash on delivery orders can be up to $200 a day for each shopper. Orders paid another way are not limited.

Apply an order limit only when the shopper pays with Cash on delivery

Turn on Only for certain payment methods and tick Cash on delivery. To apply this to every limit at once, use Settings > Payment methods.

Limit guest orders

↑ Back to top

Guests can buy up to 2 gift cards a day.

Limit guest orders in WooCommerce and recognize guests by IP address, cookie, billing email or phone
  1. Choose Guests only.
  2. In Recognize guests by, tick how to find a guest’s earlier orders: IP address, a cookie in their browser, billing email or billing phone. Pick at least one.

A guest known by IP address or cookie can be stopped as soon as they add to cart. A guest known by email or phone is checked at checkout, once they enter it.

Wholesale minimum by user role

↑ Back to top

Wholesale buyers must order at least 20 clothing items. Other shoppers buy as usual.

Wholesale minimum order quantity for the Wholesale user role in WooCommerce
  1. What are you limiting: Categories, Clothing, All of them together.
  2. How much: Number of items, at least 20.
  3. Who: User roles, then tick Wholesale buyer.

Limits for members

↑ Back to top

With WooCommerce Memberships active, choose Members in step 4 and pick the membership plans. Members on a free trial or a complimentary plan are included.

Limited release for all shoppers

↑ Back to top

Sell 100 Limited Edition Hoodies in total, across every shopper, in October.

Limited release: every shopper together can buy 100 hoodies between two dates
  • How much: Number of items, at most 100.
  • Count: All shoppers share one limit, from two dates I choose, October 1 to October 31.

Before and after those dates, the limit does nothing. The message tells shoppers how many are left.

Vendor limits for WC Vendors

↑ Back to top

Shoppers must buy 2 to 6 items from the vendor shop Northwind Studio.

Vendor order limit for a WC Vendors marketplace shop, which the vendor can change
  1. What are you limiting: Vendors.
  2. Type a vendor’s shop name to find it.
  3. Turn on Let the vendor change this limit to let the vendor change the numbers from their own profile page.

Manage your limits

↑ Back to top

The limits list

↑ Back to top

The Limits tab lists every limit, with what it limits, the limit, when it applies, where it was added and whether it is on.

All order limits in one list, with on/off switches, search, filters and overlap warnings
  1. Turn a whole kind of limit off or on at once: product, category, cart total, customer and vendor limits. The counts beside them show how many limits are on, off and overlapping.
  2. Search by name, product, SKU or ID, filter by kind, and sort.
  3. Overlaps means another limit covers the same products. Both apply, and the tightest number wins.
  4. Each row has buttons to edit, copy, delete and see why the limit is or is not working.

The Status switch on each row turns one limit on or off. A limit that is off stays saved. When you delete a limit, click Undo in the notice to bring it back exactly as it was.

Find out why a limit is not working

↑ Back to top

Click the ? button on a row (Why isn’t it working?). The Why panel shows what stops the limit, and lets you fix it right there.

The Why panel shows what stops an order limit from working and fixes it in one click
  1. The limit you are checking.
  2. What stops it, with a button to fix it, like Turn it on.

When you test a limit yourself, use a private browser window. Your own past orders may already count.

Bulk actions

↑ Back to top

Tick the limits, choose Turn on, Turn off, Make copies or Delete, and click Apply.

Bulk actions for order limits: turn on, turn off, make copies or delete

Export and import limits

↑ Back to top

Click Export and import. Export all limits saves a file, as a backup or for another store. Import limits from a file adds limits from a file. Imported limits start turned off, so nothing changes until you check them.

Export all order limits to a file, or import limits from another store

Store limits: limit orders for the whole store

↑ Back to top

Take a set number of orders or sales

↑ Back to top

Go to Order Limit > Settings > Limits for the whole store. Store limits count every order the store takes.

Store limits: take a set number of orders or sales a day, week or month, or close the store for a while
  1. Turn on Store limits.
  2. Close the store for now closes the store for a while (see below).
  3. Most orders the store takes: the number of orders, like 200. Leave it empty for no limit.
  4. Most sales the store takes: the sales amount. The order being placed counts too. Leave it empty for no limit.
  5. Count orders placed: each day, week, month or year, or between two dates.

Orders count when their status is one you chose under Counting earlier orders. Store limits apply whatever the payment method.

Close the store for a while

↑ Back to top

Turn on Close the store for now. Shoppers can still look around and fill their cart, but nobody can place an order until you turn it off. They see this message:

The message shoppers see in the cart when the store is closed for a while

Exclusions: leave products out of limits

↑ Back to top

Some products need different rules. On the Exclusions tab, add a row for them and choose what happens:

Exclude products from order limits, like a gift card, or give a product its own maximum
  1. Each row lists the products and has its own on/off switch.
  2. Don’t limit them. Product limits ignore these products, even a limit on “All products”. Category and cart total limits still count them. Good for gift cards and free samples.
  3. Give them their own maximum. Product limits that count items use this maximum for these products, product by product. Limits counted together keep theirs.
  4. Click Add another exclusion for another row, then save.

Messages shoppers see

↑ Back to top

The Messages tab holds every message a shopper can see, grouped by kind of limit. All limits of one kind share one message, so you change it once.

Edit the messages shoppers see when an order limit is not met, with fill-in words and a live preview
  1. Write your message.
  2. Click a fill-in word button to add a name or number, like the product name or the maximum.
  3. What the shopper sees shows it with real-looking values, as you type.
  4. Reset all messages puts back the default wording.

Press Enter to start a new line. A message that still uses the wording of an older version shows an Old wording badge. Click Use the new wording to switch it to the shorter, clearer wording, or keep yours.

Fill-in words

↑ Back to top

Words in curly brackets are swapped for the real values when the shopper sees the message.

Fill-in wordBecomes
{product-name}The product name
{product-names}All product names in the limit
{category-name}The category name
{category-names}All category names in the limit
{min-limit}The minimum
{max-limit}The maximum
{applied-on}A word for what is counted, like “items” or “in total”
{remaining}How much the shopper can still buy
{time-span}The time span, like “each day” or “each week”
{limit-reset-day}The date the limit next resets
{rule-limit}The limit, in customer messages
{parent-product-names}The products that must be in the cart
{parent-category-names}The categories a product must come from, in the cart
{vendor-shop-name}The vendor’s shop name
{store-name}Your store’s name
{max-order-limit}The most orders the store takes
{max-amount-limit}The most sales the store takes
{endline}A line break

Each message offers only the fill-in words it can use, as buttons under the box. A word a message cannot fill is left out, so shoppers never see curly brackets.

Customer, store and shortcode messages

↑ Back to top

Customer limits have a message for the order limit and one for the spending limit:

Messages for customer order and spending limits

Store limits have a message for a closed store and one for a store that reached its order or sales limit:

Messages shown when the store is closed or reaches its order or sales limit

Shortcodes have their own wording, so a page can say “you can buy 3 more” instead of an error:

Wording the order limit shortcodes show on a page

A message for one limit only

↑ Back to top

To give one limit its own words, open it and turn on Write a message for this limit only in the last step. The shared message stays as it is for every other limit.

Settings

↑ Back to top

Go to Order Limit > Settings. A live picture of your store shows what shoppers will see as you change the options.

Showing limits to shoppers

↑ Back to top
Settings for showing limits to shoppers on product and shop pages, with a live picture of the store
  1. Show the limit on product pages. A short line about the limit on the product page. Turn it off and limits are still checked in the cart and at checkout.
  2. Show the limit on shop and category pages. A short line under each product in the shop and category pages.
  3. Stop the quantity box at the limit. On the product page, shoppers cannot pick more than the limit allows, or fewer than its minimum. On variable products, the box stops at the chosen variation’s maximum.
  4. The live picture of your store.

When a limit is not met

↑ Back to top
Hide the checkout button until the cart meets every limit, send shoppers back to the cart, or allow one category per order
  1. Hide the checkout button on the cart page. The button comes back when the cart meets every limit.
  2. Send shoppers back to the cart if they reach checkout. If another plugin skips the cart page, leave this off.
  3. Allow products from only one category per order. A shopper cannot check out with products from two different categories. It works while cart total limits are turned on.

When daily, weekly, monthly and yearly limits reset

↑ Back to top
Choose when daily, weekly, monthly and yearly order limits reset
  1. When a new day, week, month or year starts: Midnight, store time, or When the shopper buys, so each shopper’s period starts from their own order.
  2. New weekly limits start on: the day new weekly limits start on. New monthly limits start on day: the day of the month. You can still change both on each limit.

Days and weeks follow your store’s time zone, from Settings > General in WordPress.

Counting earlier orders

↑ Back to top
Choose which order statuses count as earlier orders, and leave shipping out of money limits
  1. Which order statuses count: only orders with these statuses count as earlier orders. By default: Pending payment, Processing, On hold and Completed. With none ticked, those four count.
  2. Leave shipping out of money limits: customer spending, store sales and the cart total do not count the shipping cost. One limit can also choose this for itself.

Payment methods

↑ Back to top
Make order limits work only for certain payment methods, like Cash on delivery

Turn on Apply limits only for some payment methods and pick the methods. Product, category, cart total, customer and vendor limits then work only when the shopper pays with one of them. One limit can still pick its own methods. Store limits always apply.

Shortcodes

↑ Back to top
The order limit shortcodes and what each one shows

This card lists the shortcodes, with the ID of each limit in your list of limits. See Shortcodes.

Your data

↑ Back to top
Choose whether deleting the plugin also deletes your limits, settings and messages

Turn on When I delete this plugin, delete my limits, settings and messages too if you want everything removed when you delete the plugin. Off by default: everything is kept, so nothing is lost if you install it again. Deactivating never deletes anything, and your orders are never touched.

What shoppers see

↑ Back to top

Product page

↑ Back to top

The limit shows above Add to cart (1), and the quantity box starts at the minimum (2).

Product page showing the order limit above Add to cart, with the quantity box starting at the minimum

When the cart already holds the most allowed, the line says so and links to the cart (1). The quantity box shows 0 and Add to cart is switched off (2).

When the cart already holds the most allowed, the quantity box shows 0 and links to the cart

Variable products

↑ Back to top

The line and the quantity box follow the chosen variation. Here, size M has reached its limit of 3:

Variable product page: size M has reached its own limit of 3 per order

Shop and category pages

↑ Back to top
Order limits shown under each product in the WooCommerce shop page

A short line under each limited product, like “Category: up to 3 items per week” (1) or “Limit: 2 to 5 per order” (2).

Add to cart

↑ Back to top

When a shopper tries to add more than a limit allows, the item is not added and the message explains why (1). The line on the page shows the limit (2).

Message shown when a guest tries to add more gift cards than the daily limit allows

Cart

↑ Back to top

Every limit the cart does not meet is listed at the top of the cart. With Hide the checkout button on, the checkout button comes back once the cart meets every limit.

Cart page messages when the cart does not meet a product or vendor limit, with the checkout button hidden

Checkout

↑ Back to top

Limits are checked again when the order is placed, including customer, guest, payment method and store limits. Here, a customer who already ordered today is told when she can order again:

Checkout message when a customer has reached the limit of one order a day

Shortcodes: show limits on any page

↑ Back to top

Put your limits in words on any page or post, so shoppers know them before they shop. Use the ID shown for each limit in your list of limits.

ShortcodeShows
[order-limit-for-woocommerce rules="1,2"]These limits in words, with how much the shopper can still buy.
[wc-order-limit-remaining rule="1"]Just the number, or the amount, the shopper can still buy for one limit.
[wc-order-limit rules="1,2"]The same as the first shortcode. Kept so pages made with earlier versions keep working.
Order limits listed on a page with the order-limit-for-woocommerce shortcode

Shortcodes show product, category and customer limits. The wording comes from Messages > Shortcodes. A limit that is turned off, outside its dates, or not for the shopper viewing the page is not shown.

Limits in the product and category editor

↑ Back to top

Edit a product and open the Order Limit tab in Product data (1). It lists every limit on the product (2), including limits set on its categories. Click Add limit (3) to make a limit for this product. Your new limit opens with the product already picked.

Order Limit tab in the WooCommerce product editor, listing the limits on this product

Product categories have the same panel. Go to Products > Categories and edit a category:

Limits on a product category, shown on the category edit screen

Deactivate or delete the plugin

↑ Back to top

When you deactivate Order Limit, a short window asks why. Answering is optional. Here you can also tick When I delete this plugin, delete my limits, settings and messages too.

Deactivation window with the choice to delete limits, settings and messages when the plugin is deleted

Deactivating never deletes anything. Your limits, settings and messages are removed only if you ticked the box and then click Delete on the Plugins page. Your orders are never touched.

Troubleshooting

↑ Back to top

A limit does not stop an order

↑ Back to top
  • Click the ? button on the limit’s row (Why isn’t it working?). The Why panel shows what stops it, like a limit that is off or a kind of limit that is turned off at the top of the list.
  • Check Exclusions: the product may be left out of product limits.
  • Check who the limit applies to and its payment methods. A limit for guests does not apply to a logged-in customer.
  • Check the dates. A limit with two dates does nothing before or after them.

Earlier orders are not counted

↑ Back to top
  • Only orders with the statuses ticked under Settings > Counting earlier orders count.
  • For guests, tick a way to recognize them in the limit. A guest recognized by email is found once they enter it at checkout.
  • Test in a private browser window, so your own orders and cookies do not get in the way.

A daily limit resets at the wrong time

↑ Back to top

Check your time zone in Settings > General, and When a new day, week, month or year starts under Order Limit settings.

The checkout button is missing

↑ Back to top

It is hidden while the cart does not meet a limit. The messages at the top of the cart say what to change. To always show it, turn off Hide the checkout button on the cart page in Settings.

Shoppers can reach checkout with a cart that breaks a limit

↑ Back to top

The order is still stopped when they place it. To send them back to the cart first, turn on Send shoppers back to the cart if they reach checkout.

For developers

↑ Back to top

Order Limit has filters and actions to change its behavior from code. A few of the most useful:

HookTypeWhat it does
wcol_storefront_lineFilterThe limit line on product and shop pages. Arguments: the text, the product, whether it is the shop listing, and the limits it was built from.
wcol_product_order_limit_noticeFilterThe message for a product limit. Arguments: the message, the product ID, the limit.
wcol_customer_rule_limit_noticeFilterThe message for a customer limit. Arguments: the message, the limit.
wcol_store_limit_noticeFilterThe message for store limits. Arguments: the message, the settings.
wcol_cart_total_amountFilterThe cart total checked by cart total limits. Arguments: the amount, the settings, the cart.
wcol_edit_capabilityFilterWho can manage limits. Default: manage_woocommerce, so Shop Managers can.
wcol_limit_savedActionRuns after a limit is saved. Arguments: the limit ID, the saved values.

Frequently asked questions

↑ Back to top

How do I set a minimum and maximum order quantity for a product in WooCommerce?

↑ Back to top

Go to Order Limit, click Add limit, choose Products and pick the product. Choose Number of items and enter the minimum in At least and the maximum in At most. Save. Shoppers can then buy only between those numbers in each order.

How do I set a minimum order amount in WooCommerce?

↑ Back to top

Add a Cart total limit, choose Money spent and enter the amount in At least, like 25. Shoppers cannot check out until the cart reaches it.

Can I limit how many orders each customer places?

↑ Back to top

Yes. Add a Customers limit, choose Number of orders, enter the maximum, and choose the time, like the same day. Choose Money spent instead to cap how much each customer spends.

Can I limit guest orders?

↑ Back to top

Yes. Choose Guests only in the limit and pick how guests are recognized: IP address, a cookie, billing email or billing phone.

Can I restrict WooCommerce orders by payment method?

↑ Back to top

Yes. Turn on Only for certain payment methods in a limit and pick the methods, like Cash on delivery. To do it for every limit, use Settings > Payment methods.

Can I limit the number of orders my whole store takes?

↑ Back to top

Yes. Turn on Store limits under Settings and enter the most orders, or the most sales, each day, week, month, year or between two dates. You can also close the store for a while.

Can I set both a minimum and a maximum on the same product or category?

↑ Back to top

Yes. Enter both numbers in the same limit. A cart with exactly the minimum or the maximum is allowed.

Can I set a different limit for each variation?

↑ Back to top

Yes. Choose Variable products and Each variation separately. A variation can also have its own minimum and maximum, set under Variations on the product page.

Do limits reset daily, weekly or monthly?

↑ Back to top

Yes. Choose This cart plus what the shopper bought earlier in a limit and pick the same day, week, month or year, the last few days, or two dates. You choose the day weeks and months start on.

How do I leave a product out of all limits?

↑ Back to top

Add it on the Exclusions tab and choose Don’t limit them. Category and cart total limits still count it.

How do I show limits on my store pages?

↑ Back to top

Limits show on product and shop pages by default. To show them on any page, use the [order-limit-for-woocommerce rules="1,2"] shortcode with the IDs of your limits.

Does it work with the Cart and Checkout blocks?

↑ Back to top

Yes. It works with the Cart and Checkout blocks, the classic cart and checkout, and High-Performance Order Storage (HPOS).

Will my limits from version 5 still work after updating?

↑ Back to top

Yes. Your rules, settings, messages and exclusions move across by themselves the first time you open Order Limit. Nothing is deleted.

Does Order Limit slow down my store?

↑ Back to top

Order Limit checks limits only where they matter: product and shop pages, the cart and checkout. Earlier orders are looked up only for limits that count them.

Questions and support

↑ Back to top

Do you have a question before you buy?
Please use the pre-sales question form on the product page.
Already purchased and need assistance? Get in touch with us through the Help Desk.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.