這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Limit Orders for WooCommerce

外掛說明

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.

螢幕擷圖

  • 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."

安裝方式

  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

常見問題集

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.

使用者評論

2021 年 9 月 8 日
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.
2021 年 3 月 22 日
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!
2020 年 4 月 16 日
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.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Limit Orders for WooCommerce〉的開發相關工作。

參與者

Limit Orders for WooCommerce 外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Limit Orders for WooCommerce 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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

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.