跳到内容

Single Product in Cart

v1.0.1

Piyush Jangid · 2025年2月21日 上架

Allows only one product in the WooCommerce cart at a time. When a new product is added, it replaces the existing product without any warning.

正在使用
90+
评分
5.0 / 5
累计下载
1,186
最近更新
2026年8月14日
1 条评价需要 WordPress 5.6+已测试到 7.0.9PHP 7.4+

贡献者

The Single Product in Cart plugin ensures that only one product can exist in the WooCommerce cart at any given time. When a customer adds a new product to the cart, the plugin automatically removes any existing product and replaces it with the new one. This happens silently, without any warning messages.

This plugin is ideal for stores that want to enforce a single-product purchase flow, such as subscription-based services, exclusive product sales, or limited-time offers.

Key Features:

  • Ensures only one product is in the cart at a time.
  • Automatically replaces existing products when a new one is added.
  • Works seamlessly with WooCommerce cart and checkout pages.
  • No warning messages shown to customers during product replacement.
  • Compatible with both simple and variable products.

Credits

Developed by Piyush Jangid.

Plums

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

导航

说明

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

© 2026 Plums