Delete items from the WooCommerce cart button

Plugin Banner

Delete items from the WooCommerce cart button

by Benjamin Hagh Parast

Download
Description

This code defines a shortcode [delete_cart_items_button] that generates a button. When the button is clicked, it triggers an AJAX request to the server, and the delete_cart_items_ajax_handler function empties the WooCommerce cart.

How can i use it?

Just activate the plugin and put the shortcode on your cart page.

A question that someone might have

1.0

No change since the previous version.

Back to top