- Issue created by @Mav_fly
- 🇩🇪Germany Umac_de
This can be done easyly by yourself:
1. insert in the template
Continue shopping2. insert in your .js-file
function continueShopping(){
(function ($) {
$('.ui-icon-closethick').click();
})(jQuery);
} - 🇧🇪Belgium Mav_fly
@Umac_de Thanks for the code, my button "Continue shopping" works fine now!
Problem solved - 🇳🇱Netherlands roy564
I would also like to have the continuous shopping button on Drupal Commerce. However, I do not know in which template to place the href and which js file to use. I am using Drupal 10.2.5 and Commerce 8.x-2.38. I am not a programmer. I would appreciate it if you could help me further.
- 🇧🇪Belgium Mav_fly
@roy564 you already installed Commerce Ajax Add to Cart on your Drupal 10 website ?
You have add your href code in dc_ajax_add_cart/modules/dc_ajax_add_cart_popup/templates/dc-ajax-add-cart-popup.html.twig
Your JS code can you add via the module https://www.drupal.org/project/asset_injector →