Hi @Abdul-Basit1 ,
- Add Image in the Product Template (Code Method)
- Go to Online Store > Themes > Edit Code.
- Open sections/main-product.liquid or snippets/product-template.liquid.
- Find a suitable place to insert the image (usually below the product title or price).
- Add this code:
Make sure to upload the image to Settings > Files in Shopify and replace ‘sticker-image.png’ with your actual file name.
- Use a Metafield (For Different Stickers per Product)
If different products need different stickers:
- Go to Shopify Admin > Settings > Custom Data > Products.
- Add a new Metafield (Type: File).
- Go to Products, and under the Metafield section, upload the sticker for each product.
- Modify your product template (main-product.liquid) and add:
{% if product.metafields.custom.sticker_image.value %}
{% assign custom_sticker_image = product.metafields.custom.sticker_image.value %}
{% endif %}