Goal: show a “1+1” product badge on the main product image (it already appears on collection/grid images).
Key points and approach:
Theme doesn’t support product-page badges by default; custom Liquid (Shopify’s templating language) and CSS are required.
Suggested method: render the badge snippet inside the product media wrapper in sections/main-product.liquid (or within the product-media-gallery), and add CSS to position it in a corner. Images/code snippets are central to understanding placement.
Implementation updates:
A collaborator request was shared and accepted. One helper added code in snippets/slideshow.liquid (lines 57–65) to display the badge on the product page. OP confirmed it looks good.
Another contributor provided step-by-step file locations and example CSS for absolute positioning, plus ensuring the media wrapper is positioned relatively.
Follow-up requirement (multiple badges):
OP wants both “1+1 FREE” and a standard SALE badge, depending on the product.
Solution: keep the default SALE badge; show “1+1 FREE” only when a specific product tag is present (tag specified as ‘11-free’). Code was added to implement this logic.
Status:
Resolved. Action for OP: tag products with ‘11-free’ to show the 1+1 badge; otherwise SALE works as normal.
Summarized with AI on December 10.
AI used: gpt-5.
If you already have the badge showing on the collection or grid images, you can definitely pull it into the product page image too-it just depends on how your theme is setup.
Most Shopify themes treat product page images differently from collection images. The badge you’re seeing is likely added through a Liquid snippet inside the product card (like product-card-grid.liquid or a similar snippet), but not included on the main product media component.
Add that snippet inside the product media section and make sure the CSS positions it correctly
I have another question, maybe you can help me with that also…
Now i have the sale badge re-named to “1+1 FREE” but the problem is i have a few items that are not in the “1+1 FREE” deal but i want to do them in the sale. But of course when i do that the “1+1 FREE” badge shows up. But actually in that case i want that a “SALE” badge shows up.
How can i instal this? or can you code this? Maybe with a tag or something that i can add
@nuevemira looks like you want more than 1 badges then you will need a tag and custom code, right now it seems like you renamed sale to 1+1 free, but you will need to add code for sale tag based on tag