Delete items from the WooCommerce cart button
Delete items from the WooCommerce cart button
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.
Faq
Just activate the plugin and put the shortcode on your cart page.
Reviews
Changelog
1.0
No change since the previous version.