We'll create fresh WordPress site with RaCar Clear Cart for WooCommerce installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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 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.
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’.
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.
This plugin was written in English and has Brazilian Portuguese transalations. Este plugin está traduzido em Português do Brasil.
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