이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Single Product in Cart

설명

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.

설치

  1. Upload the single-product-in-cart folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Ensure WooCommerce is installed and activated.

That’s it! The plugin will automatically enforce a single-product cart.

FAQ

Does this plugin work with WooCommerce subscriptions?

Yes, it works with all WooCommerce product types, including subscriptions.

Can customers adjust the quantity of the single product?

Yes, customers can adjust the quantity of the single product in the cart.

What happens if a customer adds multiple products via a direct link?

The plugin ensures only the last added product remains in the cart, removing all others.

Is this plugin compatible with WooCommerce Blocks?

Yes, it works seamlessly with WooCommerce Blocks and the classic cart/checkout pages.

후기

2025년 6월 18일
Thank you to the creator. This plugin has completely resolved the problem I was facing.
모든 1 평가 읽기

기여자 & 개발자

“Single Product in Cart”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Single Product in Cart”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.1

  • Fixed bugs and errors.

1.0.0

  • Initial release.