Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Limit Orders for WooCommerce

Mô tả

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.

Ảnh màn hình

  • The settings screen for Limit Orders for WooCommerce
  • 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."

Cài đặt

  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

Hỏi đáp

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.

Đánh giá

8 Tháng Chín, 2021 1 reply
Thank you for taking the time out to produce such a great solution. We have a new client who's weary of receiving big orders through the site, while getting their processes in order. This is a great plug-in, that's simple to install, implement and it works. It's much appreciated.
22 Tháng Ba, 2021
Who would have thought we would ever need to limit order levels, but in these crazy times that's exactly what I needed for one of my clients. This plugin is simple, but does the job well. Thanks!
16 Tháng Tư, 2020 1 reply
This is a useful plugin when there is a limit to the number of orders you can handle. And when I raised an issue with the plugin this morning it was fixed within hours. Great service.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Limit Orders for WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Limit Orders for WooCommerce” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Limit Orders for WooCommerce” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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.