plugin-icon

Single Product in Cart

作者:Piyush Jangid·
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.
评级
5
版本
1.0.1
活跃安装
100
最后更新
Feb 21, 2025

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.7.5
这个插件是可用的下载,适用于您的站点。