WooCommerce – How to Show a Confirm Message before Removing an Item from the cart / Update Basket on Quantity Change
15th July 2021 - WooCommerce
A super simple one today, a client requested a popup message to confirm if you want to remove something from the cart. How do we achieve this? Pretty simple really, all you need is a bit of jQuery as shown below: <script> jQuery( function($) { $(‘.remove’).click( function( event ) { if( ! confirm( ‘Are you […]