When i remove item from cart i get a poup confirmation:
require([
'jquery'
], function($) {
$('.action-delete').off('click');
$('.action-delete').click(function(e) {
if(confirm('confirm')){
return true
}
else {
return false
}
})
})
How can i do this with Confirmation widget Magento 2??
Best Answer
You must add this code in your theme's folder.