
Allow Only 1 Product in Cart
v1.2Yasar Khalifa · 2019年10月4日 上架
Allows only one product in the cart at a time. Clears previous items when a new product is added. For logged-in users only.
- 正在使用
- 500+
- 评分
- 5.0 / 5
- 累计下载
- 6,604
- 最近更新
- 2025年7月18日
9 条评价需要 WordPress 4.0+已测试到 6.9.12PHP 5.6+
贡献者
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.