Title: Allow Only 1 Product in Cart
Author: Yasar Khalifa
Published: <strong>4 Outubro, 2019</strong>
Last modified: 18 Julho, 2025

---

Procurar plugins

![](https://ps.w.org/allow-only-1-product-in-cart-for-woocommerce/assets/banner-
772x250.png?rev=3330086)

![](https://ps.w.org/allow-only-1-product-in-cart-for-woocommerce/assets/icon-256x256.
png?rev=3330029)

# Allow Only 1 Product in Cart

 Por [Yasar Khalifa](https://profiles.wordpress.org/yasirkhalifa/)

[Descarregar](https://downloads.wordpress.org/plugin/allow-only-1-product-in-cart-for-woocommerce.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/#developers)

 [Suporte](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/)

## Descrição

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.

## Instalação

 1. Upload the `allow-only-1-product-in-cart` folder to the `/wp-content/plugins/` 
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Done! The plugin will now enforce one product per cart.

## Perguntas frequentes

### Q: Will it work with variable or grouped products?

A: Yes, the plugin works with all product types by clearing the cart before any 
product is added.

### Q: Does it work for guest users?

A: No, this plugin only works for logged-in users. Guest users are not affected.

## Avaliações

![](https://secure.gravatar.com/avatar/0ed06d5ee25d3359e0496869d96fc17d04dea11d8295ffc8520c5ad78a76e106?
s=60&d=retro&r=g)

### 󠀁[Works smoothly with WooCommerce](https://wordpress.org/support/topic/works-smoothly-with-woocommerce/)󠁿

 [Kirtikumar Solanki](https://profiles.wordpress.org/solankisoftware/) 25 Agosto,
2025

Highly recommended if you’re looking for a quick and effective solution for single-
product checkout.

![](https://secure.gravatar.com/avatar/580bb20ca0bd655600ac11c13517676f03bf4d7dfcabbd919ad60e1643b84b10?
s=60&d=retro&r=g)

### 󠀁[Wonderful plugin](https://wordpress.org/support/topic/wonderful-plugin-728/)󠁿

 [meetpatel6701](https://profiles.wordpress.org/meetpatel6701/) 28 Novembro, 2022

This is the perfect plugin for woo commence single product to cart

![](https://secure.gravatar.com/avatar/9f7b16c38537bc4f73e666cd00a7c0fe068b355ecc9f06c52ab12fc26511d92a?
s=60&d=retro&r=g)

### 󠀁[Awesome plugin simple to use](https://wordpress.org/support/topic/awesome-plugin-simple-to-use/)󠁿

 [sipak](https://profiles.wordpress.org/sipak/) 5 Outubro, 2022

Nice features. It saves my time. Very friendly Online Support

![](https://secure.gravatar.com/avatar/4ea5fa52ede119a43a4ff92b8feec05749c5364916f17a9754fba7ed4aa20dc2?
s=60&d=retro&r=g)

### 󠀁[Plugin is very useable](https://wordpress.org/support/topic/plugin-is-very-useable/)󠁿

 [yash19021998](https://profiles.wordpress.org/yash19021998/) 4 Fevereiro, 2022

for woo commerce site this plugin helpful to organize cart item

![](https://secure.gravatar.com/avatar/eb024605f9fd668430d6933be46e08fcf36a65d25628eec6a450c2fb13b86794?
s=60&d=retro&r=g)

### 󠀁[Helps lots](https://wordpress.org/support/topic/helps-lots/)󠁿

 [kamendra432](https://profiles.wordpress.org/kamendra432/) 4 Fevereiro, 2022

Amazing plugin to have just 1 product in cart

![](https://secure.gravatar.com/avatar/3ea30fc957348bce339def969f0f722fa3c01be4ca71040da3c955b396692666?
s=60&d=retro&r=g)

### 󠀁[An Amazing Plugin!](https://wordpress.org/support/topic/an-amazing-plugin-31/)󠁿

 [meenaxi08](https://profiles.wordpress.org/meenaxi08/) 24 Maio, 2021

Hello There Thanks for this plugin it was amazing and the logic is completely amazing
I am using this plugin on my site Relevant and Better!!

 [ Ler todas as 9 avaliações ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/)

## Contribuidores e programadores

“Allow Only 1 Product in Cart” é software de código aberto. As seguintes pessoas
contribuíram para este plugin:

Contribuidores

 *   [ Yasar Khalifa ](https://profiles.wordpress.org/yasirkhalifa/)

[Traduza o “Allow Only 1 Product in Cart” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/allow-only-1-product-in-cart-for-woocommerce)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/allow-only-1-product-in-cart-for-woocommerce/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/allow-only-1-product-in-cart-for-woocommerce/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/allow-only-1-product-in-cart-for-woocommerce/)
por [RSS](https://plugins.trac.wordpress.org/log/allow-only-1-product-in-cart-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 1.2

 * Added internationalization support (i18n).

#### 1.1

 * Minor code changes.

#### 1.0.0

 * Initial release.

## Metadados

 *  Versão **1.2**
 *  Última actualização **Há 1 ano**
 *  Instalações activas **500+**
 *  Versão do WordPress ** 4.0 ou superior **
 *  Testado até **6.9.11**
 *  Versão do PHP ** 5.6 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/)
 * Etiquetas
 * [add to cart](https://pt.wordpress.org/plugins/tags/add-to-cart/)[customer](https://pt.wordpress.org/plugins/tags/customer/)
   [one product](https://pt.wordpress.org/plugins/tags/one-product/)[product](https://pt.wordpress.org/plugins/tags/product/)
   [woocommerce](https://pt.wordpress.org/plugins/tags/woocommerce/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/allow-only-1-product-in-cart-for-woocommerce/advanced/)

## Classificações

 5 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/#new-post)

[Ver todas as revisões](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/reviews/)

## Contribuidores

 *   [ Yasar Khalifa ](https://profiles.wordpress.org/yasirkhalifa/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/allow-only-1-product-in-cart-for-woocommerce/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](https://myasark.wordpress.com/)