Shopify Promo JS library
- Login to your store, then navigate to Themes > Actions > Edit Code
- Open your theme.liquid file
- Paste the following script above the </head> tag
script goes above the </head> tag
- Create another script tag below the script tag that loads the Tensile Promo JS library
- Within the new script tag, create an object with the following fields:
basic html is supported to configure the text
- note: if a field is not provided, default text will be used that's equivalent to the text seen above
- Create a new instance of the TensilePromo class and pass in the object you just created
- Click "Save" to save your code changes
- Navigate to your store to view the changes!
- To include Tensile's promo messaging in your store's checkout flow, repeat steps 1-4 for your checkout.liquid file. Note, modifying this file is only available to Shopify Plus merchants.