Title: Disable cart page for WooCommerce
Author: code4life
Published: <strong>18 maio, 2017</strong>
Last modified: 29 outubro, 2024

---

Pesquisar plugins

![](https://ps.w.org/disable-cart-page-for-woocommerce/assets/banner-772x250.jpg?
rev=1780945)

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/disable-cart-page-for-woocommerce/assets/icon-256x256.jpg?rev
=1660430)

# Disable cart page for WooCommerce

 Por [code4life](https://profiles.wordpress.org/code4life/)

[Baixar](https://downloads.wordpress.org/plugin/disable-cart-page-for-woocommerce.zip)

 * [Detalhes](https://br.wordpress.org/plugins/disable-cart-page-for-woocommerce/#description)
 * [Avaliações](https://br.wordpress.org/plugins/disable-cart-page-for-woocommerce/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/disable-cart-page-for-woocommerce/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/disable-cart-page-for-woocommerce/#developers)

 [Suporte](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/)

## Descrição

Disable cart page for WooCommerce is a plugin that allows you to bypass the WooCommrce
cart page, redirecting your customers directly to checkout page and also disable
the ability to add multiple products to their orders.
 Disable cart page for WooCommerce
is ideal when you need to force your customers to buy only one product at a time
from your WooCommerce catalog, but additionally, by modifying the standard WooCommerce
shopping behavior, it greatly simplifies WooCommerce process of finalizing orders,
increasing your users conversions and increasing your profits.

#### Features

Disable cart page for WooCommerce plugin provide you a lot of extra features, such
as:
 * Simplified purchase * Functions control * Multilanguage * Enable/Disable 
settings

For more information, see [Official page](https://code4life.it/shop/plugins/disable-cart-page-for-woocommerce/).

#### Docs & Support

You can find help in the [support forum](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/)
on WordPress.org. If you can’t locate any topics that pertain to your particular
issue, post a new topic for it.

#### Hooks & Filters

 * Change redirect page when cart is empty: apply_filters( ‘wcdcp_redirect’, string
   $permalink )

#### Translations

You can translate Disable cart page for WooCommerce on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/disable-cart-page-for-woocommerce/).

## Instalação

 1. Upload the entire `disable-cart-page-for-woocommerce` folder to the `/wp-content/
    plugins/` directory, or install the plugin through the WordPress plugins screen
    directly.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Go to settings tab, under WooCommerce settings page, and enable the plugin functionality.

## Perguntas frequentes

### What happens if someone reaches the cart page?

Plugin redirect customers to checkout permanently

### What happens if a customer has added a product to the shopping cart before a new product adding?

Plugin take care to empty cart before another product is added

## Avaliações

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

### 󠀁[Amazing, light and gets the job done!](https://wordpress.org/support/topic/amazing-light-and-gets-the-job-done/)󠁿

 [adaghay](https://profiles.wordpress.org/adaghay/) 6 dezembro, 2025

Just keep it maintained and updated please 🙂

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

### 󠀁[Simple and to the point](https://wordpress.org/support/topic/simple-and-to-the-point-45/)󠁿

 [esamzenhom](https://profiles.wordpress.org/esamzenhom/) 10 dezembro, 2024

Simply The Best to do the job

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

### 󠀁[no comment](https://wordpress.org/support/topic/no-comment-10/)󠁿

 [harry murtie](https://profiles.wordpress.org/masterseoonline/) 28 fevereiro, 2024

also work with affected url link "domain/?add-to-cart=53" automaticly….ensuring 
only one product on checkout without purge,dont need custom snippet agin…….

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

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-13224/)󠁿

 [nsinha123](https://profiles.wordpress.org/nsinha123/) 26 janeiro, 2024

I was not able to accomplish this "Disable Cart" option altogether for my single
product page. I wanted only "Buy Now". I tried with different plugins and different
code snippets. But nothing could resolve the issue. Finally this plugin solved the
problem like a magic! Much thanks.

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-37494/)󠁿

 [diptonath13](https://profiles.wordpress.org/diptonath13/) 29 agosto, 2023

Great plugin. It's help me a lot

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

### 󠀁[Nice 🙂](https://wordpress.org/support/topic/nice-plugin-4970/)󠁿

 [Dario Ferrer](https://profiles.wordpress.org/metacortex/) 24 julho, 2023

Sometimes I have the privilege of stumbling across good plugins. This is one of 
those cases. Not only does it quickly solve a specific problem, but it's also beautifully
coded, which is something most users miss. It's a simple plugin, it does what it
says, nothing more, nothing less. Thanks to the developer.

 [ Leia todas as 16 avaliações ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/)

## Colaboradores e desenvolvedores

“Disable cart page for WooCommerce” é um programa de código aberto. As seguintes
pessoas contribuíram para este plugin.

Colaboradores

 *   [ code4life ](https://profiles.wordpress.org/code4life/)

Disable cart page for WooCommerce” foi traduzido para 9 localidades. Agradecemos
aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/disable-cart-page-for-woocommerce/contributors)
por suas contribuições.

[Traduzir o “Disable cart page for WooCommerce” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/disable-cart-page-for-woocommerce)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/disable-cart-page-for-woocommerce/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/disable-cart-page-for-woocommerce/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/disable-cart-page-for-woocommerce/)
por [RSS](https://plugins.trac.wordpress.org/log/disable-cart-page-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

For more information, see [Official page](https://code4life.it/shop/plugins/disable-cart-page-for-woocommerce/).

= v1.2.8
 * Compatibility check for WP v6.6 * Compatibility check for WC v9.3

= v1.2.7
 * Compatibility check for WP v6.3 * Compatibility check for WC v7.9 * 
Compatibility check for WC HPOS

#### v1.2.6

 * Compatibility check for WP v6.1 and WC v7.0

#### v1.2.5

 * Added “pre_option_woocommerce_cart_redirect_after_add” hook to force WooCommerce
   to redirect after product added to cart
 * Bug fix: added return $cart_item_data variable in “woocommerce_add_cart_item_data”
   hook

#### v1.2.4

 * Added function to empty cart if error occurs

#### v1.2.3

 * Fix: language domain as requested by WordPress internationalization standards

#### v1.2.2

 * Bug fix: some WooCommerce error messages not appeared properly
 * Added filter to change redirect page when cart is empty

#### v1.2.1

 * Bug fix for compatibility both with WooCommerce version 3.x.x and with older 
   versions
 * Bug fix for infinite loop when users go to checkout and cart is empty

#### v1.2.0

 * Added settings tab to enable/disable redirect to checkout page

#### v1.1.0

 * Added support to WooCommerce 3.0+

#### v1.0.0

 * Initial release

## Meta

 *  Versão **1.2.8**
 *  Última atualização **2 anos atrás**
 *  Instalações ativas **5.000+**
 *  Versão do WordPress ** 4.6 ou superior **
 *  Testado até **6.6.10**
 *  Idiomas
 * [Dutch](https://nl.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [English (US)](https://wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [German](https://de.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Greek](https://el.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Russian](https://ru.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/disable-cart-page-for-woocommerce/),
   [Swedish](https://sv.wordpress.org/plugins/disable-cart-page-for-woocommerce/)
   e [Ukrainian](https://uk.wordpress.org/plugins/disable-cart-page-for-woocommerce/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/disable-cart-page-for-woocommerce)
 * Tags
 * [disable cart](https://br.wordpress.org/plugins/tags/disable-cart/)[redirect to checkout](https://br.wordpress.org/plugins/tags/redirect-to-checkout/)
   [single product buy](https://br.wordpress.org/plugins/tags/single-product-buy/)
   [woocommerce](https://br.wordpress.org/plugins/tags/woocommerce/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/disable-cart-page-for-woocommerce/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  16 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/reviews/)

## Colaboradores

 *   [ code4life ](https://profiles.wordpress.org/code4life/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/disable-cart-page-for-woocommerce/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=code4lifeitalia@gmail.com&item_name=Donazione&item_number=Contributo+libero¤cy_code=EUR&lc=it_IT)