How to Implement Custom Tags in Specific Locations Using Theme Extensions in Liquid Code?

How to Implement Custom Tags in Specific Locations Using Theme Extensions in Liquid Code?

tayyab910629
Shopify Partner
1 0 0

Hi, I hope you're doing well. I was wondering if  anyone familiar with adding this kind of tags, as shown in the screenshot below, to product thumbnails using a theme extension. Currently, I can manually add this code: <div class="badge" style="color:black; background: #75eda4">Krasho Tag</div> to the card-product.liquid file within the theme. However, I'm unsure how to implement this when using a theme extension. In the theme extension, I don't know how to run my liquid code to target a specific location. At the moment, I can add the target to the body, head, and sections, but what I need is to pinpoint the exact location?

tayyab910629_1-1699709082097.png

 

 

 

Replies 0 (0)