Sometimes we need to display images in the product page of Shopify as a part of the product page template. This can be achieved using the Custom.liquid block.
Steps to Display Image in Product Template using Custom.liquid:
- Upload the image in the content section of Shopify.
- Copy the URL of the 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 the image with the added image URL.
- Drag the custom.liquid block to the desired location.
Using the above steps, an image can be added to the product page of Shopify using the Dawn theme.
Watch the demo video below to see these steps in action: