Warning!
This article requires technical knowledge and prior experience with liquid code. If you are not comfortable with this, Request a Bold Discounts Installation for help.
When Bold Discounts is installed, three files are automatically inserted into the main, published theme. If a mobile theme is added, or the theme is changed/updated, the snippet files will need to be added to the new theme.
Note: Visit Sales Icon Liquid Install Instructions for more information on how to install these snippets.
Follow these steps to replace the files if they are missing:
- Duplicate themes, to create a backup copy.
- From Shopify's admin, select Online Store.
- Select Actions.
- Select Edit code.
- Under "Snippets", select Add a new snippet.
- Enter shappify-sales-icon-product in the "Create a new snippet called" field.
- Select Create snippet.
-
Copy and paste this code into the file:
{% if product.metafields.inventory.ShappifySale == "true" %} <img class='shappify-sales-icon-product' src='//secure.apps.shappify.com/apps/discount/icons/default/sale8.png' /><style> .shappify-sales-icon-product{ } </style> {% endif %}
- Select Save.
That's it!
- Duplicate themes, to create a backup copy.
- From Shopify's admin, select Online Store.
- Select Actions.
- Select Edit code.
- Under "Snippets", select Add a new snippet.
- Enter shappify-sales-icon-collection in the "Create a new snippet called" field.
- Select Create snippet.
-
Copy and paste this code into the file:
{% if product.metafields.inventory.ShappifySale == "true" %} <img class='shappify-sales-icon-collection' src='//secure.apps.shappify.com/apps/discount/icons/default/sale10.png' /><style> .shappify-sales-icon-collection{ } </style> {% endif %}
- Select Save.
That's it!
- Duplicate themes, to create a backup copy.
- From Shopify's admin, select Online Store.
- Select Actions.
- Select Edit code.
- Under "Snippets", select Add a new snippet.
- Enter shappify-sales-clock in the "Create a new snippet called" field.
- Select Create snippet.
- Copy and paste the shappify-sales-clock code into the file.
- Select Save.
That's it!
Next Steps:
- Create a Collection for Bold Discounts Using a Product Tag
- Create a Discount with Bold Discounts
- Create a Flash Sale
Blog Posts:
- Problem Solved: Creating upsell BOGO offers on Shopify
- The 3 best sales to run on your Shopify store this Black Friday
- Bold Just Learned a New Kit Skill
Comments
Please sign in to leave a comment.