This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Disable cart page for WooCommerce


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.


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.

Docs & Support

You can find help in the support forum on 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 )


You can translate Disable cart page for WooCommerce on


  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.


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


February 28, 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…….
January 26, 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.
July 24, 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.
January 24, 2023
Blazing fast support! I got a reply quite immediately! And the plugin does exactly what it says too—highly recommended! Thank you for your effort, guys! Much appreciated!
January 11, 2023
I was searching this simple functionality and found a lot of useless plugins with tons of unnecesary features. This plugins does the jod great!!! I recomend it 100%
Read all 14 reviews

Contributors & Developers

“Disable cart page for WooCommerce” is open source software. The following people have contributed to this plugin.


“Disable cart page for WooCommerce” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “Disable cart page for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


For more information, see Official page.

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


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


  • 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


  • Added function to empty cart if error occurs


  • Fix: language domain as requested by WordPress internationalization standards


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


  • 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


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


  • Added support to WooCommerce 3.0+


  • Initial release