Directory / plugin

Allow Only 1 Product in Cart

v1.2 · by Yasar Khalifa

Allows only one product in the cart at a time. Clears previous items when a new product is added. For logged-in users only.

View on WordPress.org

About this plugin

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.

Plugin tags