Title: RaCar Clear Cart for WooCommerce
Author: Rafa Carvalhido
Published: <strong>March 14, 2019</strong>
Last modified: March 22, 2026

---

Search plugins

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

![](https://ps.w.org/racar-clear-cart-for-woocommerce/assets/icon-128x128.jpg?rev
=2890601)

# RaCar Clear Cart for WooCommerce

 By [Rafa Carvalhido](https://profiles.wordpress.org/rafacarvalhido/)

[Download](https://downloads.wordpress.org/plugin/racar-clear-cart-for-woocommerce.2.1.7.zip)

 * [Details](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/)

## Description

This plugin allows you to add a customizable button to clear the cart. The button
appears on the WooCommerce’s cart page and when pressed, it asks for confirmation
if the shopping cart should really be cleared. If the shopper clicks ok, it will
remove all items from their WooCommerce shopping.

You may change the text for the questions. Also the position and colors of the button.

#### AFTER INSTALL

After installation and activation, on the plugins page, find RaCar Clear Cart for
WooCommerce on the list and click ‘settings’ right under the title. It’ll take you
to the plugin’s settings page. Another way of getting there is through the left 
admin menu. Find the RaCar Plugins handle and click it.

#### HOW TO USE IT

On settings page, choose your options such as colors and text and enable the plugin
so the button will show.

The button itself is a ‘<button type=”submit”>’ HTML tag, has the ‘class=”button”‘
and ‘id=”clear-cart”‘, so you’re welcome to add your own CSS to it. If doing so,
leave the options on options page blank. In failing to do so, you’ll have to use
the ‘!important’ to some of the elements such as ‘background’ and ‘color’.

#### RESET SETTINGS

So far, the only way to reset your settings is unistalling the plugin and installing
it back on. Just deactivating and activating will NOT reset settings, only the unistalling
will.

#### Languages

This plugin was written in English and has Brazilian Portuguese transalations. Este
plugin está traduzido em Português do Brasil.

#### Screenshots Caption

Below, you’ll find the screenshots. Follow these captions:
 1. Plugin Enabled 2.
Confirmation 3. Cleared Cart 4. Plugin Options 5. Frontend With Option set

## Screenshots

[⌊Plugin Enabled⌉⌊Plugin Enabled⌉[

Plugin Enabled

[⌊Confirmation⌉⌊Confirmation⌉[

Confirmation

[⌊Cleared Cart⌉⌊Cleared Cart⌉[

Cleared Cart

[⌊Plugin Options⌉⌊Plugin Options⌉[

Plugin Options

[⌊Frontend With Option set⌉⌊Frontend With Option set⌉[

Frontend With Option set

## Installation

#### Minimum Requirements

 * PHP version 5.6 or greater (PHP 7.2 or greater is recommended)
 * MySQL version 5.6 or greater

#### Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers
itself and you don’t need to leave your web browser. To do an automatic install 
of RaCar Clear Cart for WooCommerce, log in to your WordPress dashboard, navigate
to the Plugins menu and click Add New.

In the search field type “RaCar Clear Cart for WooCommerce” and click Search Plugins.
Once you’ve found our plugin you can view details about it such as the point release,
rating and description. Most importantly of course, you can install it by simply
clicking “Install Now”.

#### Manual installation

After you donwload it here (and only here), you can do it in 2 ways:

 1. WordPress Admin Dashboard

 * On the left menu, click Plugins / Add New.
 * Upload the file `racar-clear-cart-for-woocommerce.zip`.
 * Activate it.
 * Go to settings page.
 * Enable it.

 1. FTP

 * Unzip the file `racar-clear-cart-for-woocommerce.zip`.
 * Upload the unziped folder `racar-clear-cart-for-woocommerce` to the `/wp-content/
   plugins/` directory.
 * Activate the plugin through the ‘Plugins’ menu in WordPress

#### Updating

Automatic updates should work like a charm; as always though, ensure you backup 
your site just in case.

## FAQ

### Where can I find documentation for this plugin?

There is not one yet. As the plugin is so easy to use, the screenshots above should
suffice to get you on the right track.

### My button seems broken

Try and strip other CSS from the button. The button itself is a ‘<button type=”submit”
>’ HTML tag, has the ‘class=”button”‘ and ‘id=”clear-cart”‘.

### Where can I get support or talk to other users?

If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/).

### Who created this plugin?

Rafa Carvalhido is a Brazilian WordPress Specialist Developer.
 [Profissional WordPress](https://profissionalwp.dev.br/blog/contato/rafa-carvalhido/)
[Donate](https://paypal.me/RafaCarvalhido) [Hire him at Workana](https://www.workana.com/freelancer/rafa-carvalhido)

## Reviews

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

### 󠀁[Does what it needs to, simple and easy to set up](https://wordpress.org/support/topic/does-what-it-needs-to-simple-and-easy-to-set-up/)󠁿

 [alenhabek](https://profiles.wordpress.org/alenhabek/) May 16, 2024 1 reply

The cart button is seamlessly added to the cart container, styling is quick and 
easy.

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

### 󠀁[Awasome plugin](https://wordpress.org/support/topic/awasome-plugin-8/)󠁿

 [trondandre1962](https://profiles.wordpress.org/trondandre1962/) March 31, 2023
5 replies

Finally an Empty Cart button that works as it should! Even with Ajax shop.I treat
the developer to a cup of coffee and tip at the same time that a function where 
you can set a redirect to another page could be nice as well.

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

### 󠀁[Exactly as I want!](https://wordpress.org/support/topic/exactly-as-i-want/)󠁿

 [mehmetnadir](https://profiles.wordpress.org/mehmetnadir/) March 27, 2022

It works great, the possibility to customize the button is enough. We can change
the expressions on the noses by translating them into our own language. It works
perfectly compared to other plugins that we’ve run into with weird problems. Thanks.

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

### 󠀁[Excellent Plugin! Thank you!](https://wordpress.org/support/topic/excellent-plugin-thank-you-17/)󠁿

 [danoshea](https://profiles.wordpress.org/danoshea/) June 2, 2021 2 replies

I can’t believe Woocommerce can’t have a default Clear Cart. Large online shopping
sites all have one. This solved my problem, as no way in hell should any shopper
have to wait 48 hours for a cart to clear if they clicked on the wrong item or changed
their mind and went with another product. This plugin works perfectly and within
minutes – download, install, change button appearance – done. Thank you.

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

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

 [Phil Bundy](https://profiles.wordpress.org/philbundy/) March 30, 2021 1 reply

I love the simplicity! Grazie

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/reviews/)

## Contributors & Developers

“RaCar Clear Cart for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Rafa Carvalhido ](https://profiles.wordpress.org/rafacarvalhido/)

“RaCar Clear Cart for WooCommerce” has been translated into 2 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/racar-clear-cart-for-woocommerce/contributors)
for their contributions.

[Translate “RaCar Clear Cart for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/racar-clear-cart-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/racar-clear-cart-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/racar-clear-cart-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/racar-clear-cart-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/racar-clear-cart-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.7 – 2026-03-13

 * Verifyed against PCP
 * Tested on latest and greatest versions of PHP, WP and WC

#### 2.1.6 – 2025-07-13

 * Update – Changed readme.txt as per WordPress.org rules
 * Update – Changed the name of 2 functions adding the prefix rccwoo_
 * Update – Removed load_text_domain function
 * Update – Activated compatibility with Woo’s High-Performance Order Storage (HPOS)
 * Fix – Escaped some echoed terms on Admin Options
 * Fix – Added a nonce to the button action
 * Fix – Removed closing tags in 2 files

#### 2.1.5 – 2025-07-09

 * Update – Tested on latest and greatest -> WP 6.8.1 and WC 9.9.5
 * Update – Update of internationalization files
 * Update – Update of translations (pt-BR and es-ES)
 * Update – Update of author URL
 * Fix – Fixed minor error when options have not been chosen yet

#### 2.1.4 – 2025-04-13

 * Update – Tested on latest and greatest -> WP 6.7.2 and WC 9.8.1

#### 2.1.3 – 2024-05-17

 * Update – Tested on latest and greatest -> WP 6.5.3 and WC 8.8.3
 * Update – Added plugin dependency as per WP Core 6.5 API

#### 2.1.2 – 2023-09-23

 * Update – Tested on latest and greatest -> WP 6.3.1 and WC 8.1.1

#### 2.1.0 – 2023-03-31

 * Enhancement – Added redirection option as per @trondandre1962’s request.

#### 2.0.3 – 2023-03-31

 * Fix – Fixed inputs in wp-admin buged in some systems.

#### 2.0.2 – 2023-03-30

 * Fix – Fixed inputs in wp-admin because of the escapes.

#### 2.0.1 – 2023-03-27

 * Update – Changed the images to be WordPress.org compliant.
 * Update – Escaped the echos.
 * Fix – Fixed a bug that threw an error when admin page was not configured by user.

#### 2.0.0 – 2023-03-27

 * Update – Removal of Freemius platform.
 * Update – Changed a few wordings on admin page.
 * Fix – Fixed a bug that threw an error when admin page was not configured by user.

#### 1.2.4 – 2022-06-30

 * Update – Changed readme.txt to be WordPress.org compliant.
 * Update – Changed plugin textdomain to be WordPress.org compliant.

#### 1.2.3 – 2022-06-30

 * Update – Changed Freemius version to be WordPress.org compliant.

#### 1.2.2 – 2022-06-23

 * Update – Tested on latest and greatest -> WP 6.0 and WC 6.6.1

#### 1.2.1 – 2021-03-08

 * Update – Tested on latest and greatest -> WP 5.7.0 and WC 5.0.0
 * Update – Translations to pt_BR and es_ES were updated
 * Enhancement – Added links for support and rating on plugin’s settings.
 * Tweak – Positioned the radio buttons vertically in the plugin’s settings for 
   better reading.
 * Fix – Button did not take hover colors set on wp-admin.

#### 1.1.4 – 2020-08-10

 * Update – Tested on latest and greatest -> WP 5.5.1 and WC 4.5.2

#### 1.1.3 – 2019-12-11

 * Update – Tested on latest and greatest -> WP 5.3.0 and WC 3.8.1

#### 1.1.2 – 2019-09-02

 * Update – Tested on latest and greatest -> WP 5.2.2 and WC 3.7.0

#### 1.1.1 – 2019-07-09

 * Dev – Added Fremius code for better tracking
 * Update – Tested on latest and greatest -> WP 5.2.2 and WC 3.6.5

#### 1.1.0 – 2019-05-26

 * Dev – Code organizing
 * Enhancement – changed the way this plugin depends on Woo with better coding
 * Update – Translations to pt_BR and es_ES were updated
 * Update – Tested on latest and greatest -> WP 5.2.1 and WC 3.6.3

#### 1.0.1 – 2019-04-21

 * Dev – Added option for the text color on mouse hover
 * Tweak – Removed the admin option to turn the plugin on and off (which was the
   same as disabling/enabling the plugin)
 * Enhancement – Added “requires at least” and “tested up to” for both WordPress
   and WooCommerce
 * Enhancement – Added donation link to plugins action links
 * Enhancement – Added Spanish es_ES transalations
 * Update – Translation to Portuguese pt_BR was updated
 * Update – Tested on latest and greatest -> WP 5.1.1 and WC 3.6.1

#### 1.0.0 – 2019-03-25

 * Dev – Added new options to better css control
 * Enhancement – Changed the options page to be more intuitive
 * Enhancement – Removed unecessary resources from load, making it even faster
 * Enhancement – Improved the readme.txt to be more well documented
 * Tweak – Altered main button HTML tag from input to button to match other buttons
   in WooCommerce
 * Update – translation pt_BR

#### 0.9 – 2019-03-14

 * Release version

## Meta

 *  Version **2.1.7**
 *  Last updated **3 months ago**
 *  Active installations **400+**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/racar-clear-cart-for-woocommerce/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/racar-clear-cart-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/racar-clear-cart-for-woocommerce)
 * Tags
 * [cart](https://wordpress.org/plugins/tags/cart/)[clear-cart](https://wordpress.org/plugins/tags/clear-cart/)
   [Empty Cart](https://wordpress.org/plugins/tags/empty-cart/)[woo-commerce](https://wordpress.org/plugins/tags/woo-commerce/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/advanced/)

## Ratings

 5 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/reviews/)

## Contributors

 *   [ Rafa Carvalhido ](https://profiles.wordpress.org/rafacarvalhido/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://linknabio.gg/rafa_carvalhido_wp)