跳到内容

Allow Only 1 Product in Cart

v1.2

Yasar 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums