Remove # in product

This commit is contained in:
carmenmaymo 2023-09-11 14:23:05 +02:00
parent 3d6b2b0bb2
commit 9832915651
No known key found for this signature in database
GPG key ID: 6023F686B0F3102E
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ import ApplepayManager from "./ApplepayManager";
return;
}
const isMiniCart = ppcpConfig.mini_cart_buttons_enabled;
const isButton = jQuery(buttonConfig.button.wrapper).length > 0;
const isButton = jQuery('#' + buttonConfig.button.wrapper).length > 0;
console.log('isbutton' ,isButton, buttonConfig.button.wrapper)
// If button wrapper is not present then there is no need to load the scripts.
// minicart loads later?