Adding text under price in certain collections only

5 0 1


I am using the Impulse theme, and would like to add text under the price for certain items. For example , if I am having a clearance sale I would like to add text saying “ Enter code XYZ for 50% off” etc. is this possible?

Replies 2 (2)
Shopify Partner
12 2 1

Yes, its possible.
You can add condition based on tag or collection and can display text. 
e.g. you can assign "sale" tag to any product then
you can add condition in code 
{% if product.tags contains 'sale' %} Enter code XYZ for 50% off {% endif %}

Is the solution works for you ? please Like and Accept Solution.
Need more help with theme customization and store development ?
WA: +917508271396, Email:, Skype: amanbatra.developer
5 0 1

Thank you! Where do I place this code? I tried adding it at the end of “products.liquid” but it didn’t work