plugin-icon

Delete items from the WooCommerce cart button

You can use this shortcode by placing [delete_cart_items_button] in a post, page, or widget.
Versione
1.0
Ultimo aggiornamento
Jan 9, 2026

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.

Gratuitosui piani a pagamento
Testato fino alla versione
WordPress 6.9.4
Questo plugin ora può essere scaricato per il tuo sito .