Hello, dear Shopify community.
Greetings! I would like to add a specific text to one of my collections. However, once I make the change, it shows up in all collections. I am only interested in applying this text to one specific collection.
Is there any way to achieve this?
I would greatly appreciate your assistance.
Thank you.
Hi @Forma-uae There are 2 ways to achieve this.
- You can add a different template in your theme and assign that template to the collection you want to show the specific text.
- You can do it with the code.
{% if collection.name == "your collection name" %}
your text
{% endif %}
You need to add this code in collection.liquid file.
If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the changes so that this will work well for you.
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil
Dear sahil,
Thank you so much for your assistance, really appreciate it.
solved.
