Google Tag Manager Shopify Integration with App . Check if a Shopify discount code is valid from the storefront or Script Tag by Joshua Harms If you're building a custom shopping cart page, you might want to add a discount code textbox which customers can use to enter a discount code before they check out. You're free to use other Liquid variables in your targeting. It's added in between the script tags in theme.liquid. This object can be useful when debugging scripts. Add a new page Login to your Shopify store > Online store > Pages > Add pages Add title > Save changes Insert track button Under "Snippets", find the bold-common.liquid file: If it doesn't currently exist: Select Add a new snippet. 7 Paste the exact code from below just before the [/head] tag In the current theme you’re using, click Actions and Edit Code. Login to your Shopify store.In the left menu, click Online StoreFor the theme you would like to edit, expand the Actions menu and choose Edit Code. Insert the following code just above the
shopify script tag liquid
by | May 28, 2021 | Uncategorized | 0 comments