Feb 19, 2019
I'm developing an app and I would like to insert HTML under the add cart button but each storefront has different class's names for add cart buttons. Could you please help me to figur...
I am developing an app for the marketplace and I included js file to the storefront. How can I understand what the page is it? And if this page is === "product", then how can I get the information a...
No content to show
User Activity
If the body has few classes then I can't check page id And this method doesn't work when I navigate to thank you page.var pageTemplate = $("body").attr('class');
if (pageTemplate === 'template-product') {
// action
}Example:
02-19-2019
I am developing an app for the marketplace and I included js file to the storefront.Could you please help me to figure out how to get page id?