Debut Theme:  Hide some (not all) collection titles

Highlighted
New Member
4 0 0

 Hello, 

I need to remove some collection titles on collection pages. I found out how to edit the code in order to remove ALL the titles but not just some of them.

Example:

I need to remove this title:

 

Collection title to hide.PNG

 

 

 

 

 

But not this title:

 

Collection title not to hide.PNG

 

 

0 Likes
Highlighted
Shopify Partner
833 127 141

You would need to either use an if/else conditional statement logic to show this in the code or create new metafield for each collection, call it "ShowTitle" and based on that display Collection Title or not.

Cheers!

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkconsultancy.com
K&J
0 Likes
Highlighted
New Member
4 0 0

Hello,

thanks for your answer.

I'm not very familiar with codes. Could you make an example with one of the collections I showed you in the previuos screenshots?

Could you also tell me in which file I should add the new codes? 

 

Thanks in advance for your help.

Isabella

0 Likes