外掛說明
This plugin ensures that users can only purchase one product at a time.
When a logged-in user clicks the “Add to Cart” button, any existing cart content is cleared — allowing only the new product to remain.
Perfect for scenarios like bookings, appointments, or exclusive product sales where only one item should be bought per order.
Note: This plugin works only for logged-in users. Guest users are not affected.
安裝方式
- Upload the
allow-only-1-product-in-cartfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Done! The plugin will now enforce one product per cart.
常見問題集
-
Q: Will it work with variable or grouped products?
-
A: Yes, the plugin works with all product types by clearing the cart before any product is added.
-
Q: Does it work for guest users?
-
A: No, this plugin only works for logged-in users. Guest users are not affected.
使用者評論
2025 年 8 月 25 日
Highly recommended if you’re looking for a quick and effective solution for single-product checkout.
2022 年 11 月 28 日
This is the perfect plugin for woo commence single product to cart
2022 年 10 月 5 日
Nice features.
It saves my time.
Very friendly Online Support
2022 年 2 月 4 日
for woo commerce site this plugin helpful to organize cart item
2022 年 2 月 4 日
Amazing plugin to have just 1 product in cart
2021 年 5 月 24 日
Hello There Thanks for this plugin it was amazing and the logic is completely amazing I am using this plugin on my site
Relevant and Better!!
參與者及開發者
變更記錄
1.2
- Added internationalization support (i18n).
1.1
- Minor code changes.
1.0.0
- Initial release.
