Limit Orders for WooCommerce

November 22, 2022

Limit Orders for WooCommerce Plugin

Automatically disable WooCommerce's checkout process after reaching a maximum number of orders.

While many stores would be thrilled to have a never-ending order queue, some store owners are faced with the opposite problem: how can I make sure I don’t get overwhelmed by too many orders?

Limit Orders for WooCommerce lets you limit the number of orders your store will accept per day, week, or month, while giving you full control over the messaging shown to your customers when orders are no longer being accepted. Once limiting is in effect, “Add to Cart” buttons and the checkout screens will automatically be disabled.

For full documentation on configuration options and available filters, please visit the plugin’s GitHub repository.

Installation

  1. Upload the limit-orders/ directory to /wp-content/plugins/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Visit “WooCommerce › Settings › Order Limiting” to configure limits and messaging

Screenshots

  1. The settings screen for Limit Orders for WooCommerce

    The settings screen for Limit Orders for WooCommerce

  2. A notice at the top of a WooCommerce catalog with the message "Due to increased demand, new orders will be temporarily suspended until March 27, 2020."

    A notice at the top of a WooCommerce catalog with the message "Due to increased demand, new orders will be temporarily suspended until March 27, 2020."

FAQ

What happens when the order limit is reached?

Once the maximum number of orders has been placed, Limit Orders for WooCommerce will use hooks within WooCommerce itself to temporarily mark all products as unpurchasable, remove the “Place Order” button, and disable the checkout form.

Meanwhile, a fully-customizable message will be displayed on all WooCommerce shop pages, informing customers that ordering has been paused.

Can store owners still create orders manually?

Yes, the order creation process through WP Admin is unaffected.

Can the plugin limit orders based on some custom time interval?

The base plugin defines several common intervals: hourly, daily, weekly, and monthly.

In the event that you require a custom interval, they may be registered with a few filters. Several examples are available in the plugin’s GitHub repository.

Can the plugin limit orders based on category/amount/items/etc.?

The plugin is designed to work based on the total number of orders, but as of version 1.3.0 filters have been introduced that enable developers to specify which orders should be counted against the limit.

Documentation for these filters is available in the plugin’s GitHub repository.

Changelog

For a complete list of changes, please see the plugin’s changelog on GitHub.

2.0.0 (2022-11-14)

  • Verified compatibility with WooCommerce 7.1. ([#70])

1.3.1 (2020-09-17)

  • Fixed issue where clearing transients would prevent the order limiting from working.
  • Clarify the behavior of the {current_interval} and {next_interval} placeholders.

1.3.0 (2020-07-16)

  • Added new “Reset order limiting” WooCommerce tool.
  • Introduce new filters for customizing order counting logic.
  • Automatically clear the cached order count when settings are updated or WooCommerce order transients are cleared.
  • Verify compatibility with WooCommerce 4.3.

1.2.1 (2020-05-08)

  • Verify compatibility with WooCommerce 4.1.

1.2.0 (2020-04-27)

  • Add a new “hourly” interval, enabling store owners to limit the number of orders per hour.
  • Added new placeholders for customer-facing messaging.

1.1.2 (2020-04-17)

  • Override WordPress’ default “LIMIT” on queries, which was preventing stores with limits > 10 from stopping orders

1.1.1 (2020-04-16)

  • Prevent errors from occurring in WP Admin due to the customer-facing notice

1.1.0 (2020-04-15)

  • Include a “Limit Orders” section in the WooCommerce System Status Report

1.0.0 (2020-03-27)

Initial release of the plugin.

Details

  • Version: 2.0.0
  • Active installations: 500
  • WordPress Version: 5.7
  • Tested up to: 6.1.7
  • PHP Version: 7.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars