Hello,
I am wanting to have different icons with text showing on different product pages for example vegan friendly, gluten free, pregnancy safe etc so some products I won’t need the gluten free icon for example.
I’ve tried to create metafields but then the icons still show on all pages blank. Do I have to create a new product template page for every combination of icon lists. Just seeing if there’s an easier way around it? Any suggestions would be helpful!
www.glowmumma.co.nz
password glow123
Hi there,
Thanks for this. I did start setting up the conditional meta fields but didn’t know how to go from there.
In which section do I add the code as suggested? At the bottom of the template—product.liquid file or somewhere else?
Hey I have the solution and you don’t need a metafield for this. To implement an icon with text only to specific products go to:
Online Store>Customize
On the top in the middle you will see the two drop downs Default and Home page. Click on the Home page and select Products.
When selecting products you will see “Default products” and under that an option to create a new template. Create a new template and name it however you like.
After creating the new template go Products>select any of the products that you would like to put on the Icon with text and on the right in the option “Theme template” choose the new created template instead of Default. After putting your selected products into that template go back to Customize and open the new template and put the Icon with text on the selected products.