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.
バージョン
1.0
最終更新日時
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.

無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。