Deskripsi
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.
Tangkapan Layar
Instalasi
- Upload the
limit-orders/
directory to/wp-content/plugins/
- Activate the plugin through the “Plugins” menu in WordPress
- Visit “WooCommerce › Settings › Order Limiting” to configure limits and messaging
Tanya Jawab
-
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.
Ulasan
Kontributor & Pengembang
“Limit Orders for WooCommerce” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.
Kontributor“Limit Orders for WooCommerce” telah diterjemahkan dalam 1 bahasa. Terima kasih kepada para penerjemah untuk kontribusi-nya.
Terjemahkan “Limit Orders for WooCommerce” dalam bahasa Anda.
Tertarik mengembangkan?
Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.
Log Perubahan
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.