Sale! Perfect rating

Empty Cart Button for WooCommerce

(2 customer reviews)

From: $9.99 / year

“Empty cart” button for WooCommerce.

Clear

Description

Empty Cart Button for WooCommerce plugin lets you add (and customize) “Empty cart” button to WooCommerce cart and checkout pages.

Position Options

Alternatively you can also use [alg_wc_empty_cart_button] shortcode or do_shortcode( '[alg_wc_empty_cart_button]' ); PHP code to add “empty cart” button anywhere on your site.

Empty Cart Button for WooCommerce - Position Options

Cart: Button position
Possible positions are: Do not add; Before cart; After cart; After proceed to checkout button; After cart totals. Possible values: Do not add; Before cart; After cart; After proceed to checkout button; After cart totals.
Default: After cart
Cart: Button position priority
Change this if you want to move the button inside the Position selected above.
Default: 10
Checkout: Button position
Possible positions are: Do not add; Before checkout form; After checkout form.
Default: Do not add
Checkout: Button position priority
Change this if you want to move the button inside the Position selected above.
Default: 10

Style Options

Alternatively, if using [alg_wc_empty_cart_button] shortcode, you can style the button with html_template, html_style, html_class attributes, e.g.:

[alg_wc_empty_cart_button html_template="<div style='float:right;'>%button_form%</div>" html_style="" html_class="button"]

Empty Cart Button for WooCommerce - Style Options

Cart: HTML template
HTML template for wrapping the button. Replaced value: %button_form%
Default:
<div style="float:right;">%button_form%</div>
Cart: Button HTML class
Button HTML class on the cart page.
Default: button
Cart: Button HTML style
Button HTML style on the cart page.
Default: None
Checkout: HTML template
HTML template for wrapping the button. Replaced value: %button_form%
Default:
<div style="float:right;">%button_form%</div>
Checkout: Button HTML class
Button HTML class on the checkout page.
Default: button
Checkout: Button HTML style
Button HTML style on the checkout page.
Default: None

Label Options

Empty Cart Button for WooCommerce - Label Options

Button label
Button text.
Default: Empty cart

Confirmation Options

In this section you can select if you want user to confirm after empty cart button was pressed.

Empty Cart Button for WooCommerce - Confirmation Options

Confirmation
Possible values: No confirmation; Confirm by pop up box.
Default: No confirmation
Confirmation text
Ignored if confirmation is not enabled.
Default: Are you sure?

Redirect Options

In this section you can select if you want to redirect the user to another page after cart is emptied.

Empty Cart Button for WooCommerce - Redirect Options

Redirect
Enables/disables redirect.
Default: no
Redirect location
Ignored if redirect is not enabled.
Default: None

2 reviews for Empty Cart Button for WooCommerce

  1. Alexander Labrie (verified owner)

    Why bother figuring how to do this yourself for the price of 2 lattes? Tom gives fast and great support.

  2. Anton

    Could have probably coded it myself, but still – good work.

Add a review

Your email address will not be published. Required fields are marked *

3 thoughts on "Empty Cart Button for WooCommerce"

  1. On the cart page, I need the empty button to be left of the “update cart” button. Can you add this as an option or tell me how to update the code? Otherwise I’ll have to look for something else, thanks.

    1. FYI: the “after cart” option puts the button after the “proceed to checkout” button, just like the “after proceed to checkout button” option. Cleared caches and everything. Using storefront.

    2. Hi Alexandre,

      Wasn’t possible, but I’ve already found the solution, please give me a minute to release a new plugin version.

Leave a Reply

Your email address will not be published. Required fields are marked *

Changelog

1.2.2 - 02/05/2019

  • Dev - Code refactoring.
  • Dev - Admin settings restyled.
  • Dev - "Tested up to" and "WC tested up to" updated.

1.2.1 - 08/08/2018

  • Fix - Autoloading fixed on settings reset.
  • Dev - Settings array is saved as main class property.
  • Dev - Descriptions updated.
  • Dev - Admin settings restyled.
  • Dev - Code refactored and cleaned up.
  • Dev - Plugin link updated.

1.2.0 - 11/06/2017

  • Fix - Position Options - Button Position on the Checkout Page - Wrong position options removed.
  • Dev - "Style Options" options for Checkout added.
  • Dev - "Redirect Options" section added.
  • Dev - Position Options - "Cart: Button Position Priority" and "Checkout: Button Position Priority" options added.
  • Dev - [alg_wc_empty_cart_button] shortcode - html_template, html_style and html_class attributes added.
  • Dev - HTML id added for empty cart button on frontend.
  • Dev - Code refactoring.
  • Tweak - Settings restyled.
  • Tweak - Description tips added for "Cart: Button Position" and "Checkout: Button Position" options. "Confirmation Options" section description added.

1.1.0 - 09/06/2017

  • Dev - [alg_wc_empty_cart_button] shortcode added.
  • Dev - Button Position on the Cart Page - "Do not add" option added.
  • Dev - Autoloading plugin's options.
  • Tweak - Admin settings descriptions updated.
  • Tweak - Plugin link updated from http://coder.fm to https://wpcodefactory.com.
  • Tweak - Plugin header ("Text Domain" etc.) updated.

1.0.0 - 22/01/2017

  • Initial Release.

Free version

This plugin is a premium version of free "Empty Cart Button for WooCommerce" plugin.

Prices & Licenses

Single siteUnlimited sites
1 year[buy] $19.99 $9.99 / year[buy] $29.99 $19.99 / year
Lifetime[buy] $39.99 $29.99[buy] $59.99 $39.99

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.