New answers tagged

0

like this you can delete everything in popup and then show success content in the same popup if ($(this).validation('isValid')) { $.ajax({ url: $(this).attr('action'), data: $(this).serialize(), dataType: 'html', type: 'POST', showLoader: ...


0

Copy catalog-add-to-cart.js from core '\module-catalog\view\frontend\web\js/catalog-add-to-cart.js and place into your theme folder \Package/theme/Magento_Catalog/web/js/catalog-add-to-cart.js Now find ajaxSubmit function and add below code after self.enableAddToCartButton(form); var popup = $('<div class="add-to-cart-dialog"/>').html($('.page-title ...


Top 50 recent answers are included