Add badges to products based on tags in Dawn

Add badges to products based on tags in Dawn

prettycleanshop
Visitor
1 0 0

Hi everyone,

 

I am struggling to find a way to add badges to products based on tags, but to display them within the product  page instead of inside the product image. 

I had managed to do this on my last theme Minima, but I can't figure it out in Dawn theme. It could be a piece of code to insert. Some products may have one or several badged displayed if they meet the criteria of having several tags. 

See an example of how it used to look in minimal. The image has 2 badges: made in canada, and veganScreen Shot 2022-06-09 at 4.46.16 PM.png

Reply 1 (1)

made4Uo
Shopify Partner
3851 717 1195

Hi @prettycleanshop,

 

Please use the custom liquid block for this in your theme editor.

1. Go to Admin page > Online store > themes > Actions > Customize
2. Change the home page, then Products > default products.

3. You can add a custom liquid and place your code there. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free