Sometimes we need to show a image for each of the product of your Shopify store. This can be done by directly adding the image in the product template of Shopify theme.
Steps to add image in the product page of Shopify
Here are the steps to add a image in the product page template for Shopify dawn theme -
- Login to your Shopify store admin
- Upload image in the content section of Shopify
- Copy the URL of uploaded image
- Go to the theme and click on customize
- Select the product template
- Click on add block and select custom.liquid
- Add the HTML for image with added image URL
- Drag the custom.liquid block at desired location
Using above steps an image was added in the product page of Shopify having Dawn theme.
Here is a sample HTML code to add custom image in the product page template for Shopify dawn theme :
<div style="text-align: center;"><img height="100" src="https://cdn.shopify.com/s/files/1/0614/3112/0049/files/100_Assureed_1.png?v=1690098186" /></div>
Here is the sample video to implement above steps:
Comments
Post a Comment