Sale! Bestseller High rating Documented

Empty Cart Button for WooCommerce

(2 customer reviews)

From: $9.99 / year

“Empty cart” button for WooCommerce.

$9.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$19.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
Clear

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="
%button_form%
" 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%
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%
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.

Free version

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

Changelog

1.2.4 - 17/09/2019

  • Dev - Advanced Options - "Button type" option reset to "Hyperlink" (and "Form" marked as deprecated).
  • Dev - New button positions added.
  • Dev - Confirmation - "Confirm by pop up box (jQuery)" option added.
  • WC tested up to: 3.7.

1.2.3 - 06/08/2019

  • Dev - Advanced Options - "Button type" option added.
  • Dev - Position Options - Cart: Button position - 'After "Apply coupon" button' and 'After "Update cart" button' positions added.
  • Tested up to: 5.2.

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.