Adding an image to Product Page

Highlighted
New Member
10 0 0

Hi Everyone,

I am wanting to add an image of credit card verification under the 'add to cart' button on all my product pages but I'm not too sure how to go about it. 

Any help would be appreciated.

Janice

0 Likes
Shopify Staff
Shopify Staff
97 0 21

Hey Janice,

David here, Shopify Guru!

To have an image underneath the "Add to cart" button you could add the following code to line 94 of your Sections/product-template.liquid file:

 <img src="https://your_image.png" height="200" width ="200">

Just replace https://your_image.png with your image URL and set the appropriate height and width.

Hope that helps, feel free to drop us a line at support@shopify.com if you have any other questions :)

David Mc | Shopify Guru

0 Likes
Highlighted
New Member
10 0 0

Fantastic David it worked!!! Thanks so much :-) 

I'm actuallly also having an issue with my second add to cart button that I have placed on all my product pages. The link is showing up on the page but it is not clickable and doesn't redirect into the checkout page. 

I have added the following code to my product.liquid but it doesn't seem to be working. Should I add it to the product template liquid or just the product liquid. 

Any help would be greatly appreciated,

Janice :-)

0 Likes
Highlighted
New Member
10 0 0

Hey David,

How's it going? So I applied the code to line 94 & it worked y'day placed under the add to cart button.

However now it's decided it to place itself next to the add to cart button as shown in the screenshot.

Is there a way to get it back to being placed under the add to cart button?

Thanks again,

Janice

0 Likes
Highlighted
New Member
1 0 0

Hi there !

How to make the image only be on a specific collection and not the other ones ?

For instance, I want to put a "How to measure your feet size" image only in the shoes collection and not in the pants or accesories collection.

pls hlp 

 

Kran

0 Likes
Highlighted
New Member
1 0 0

Hi, If I may ask - How can I add a picture to a specific product page? I don't want to add the same picture to all of the product pages, I want it to appear in only one of my products.

 

Thanks!

0 Likes
Highlighted
New Member
7 0 0

I am trying to do a similar thing (add a picture to every product page right under the ADD TO CART button), and have tried numerous code snippets in the product.template.liquid file from different threads on here, and when I load my wep page, the picture doe snot seem to be loading at all (see screen shot attached). Website is www.bolouga.com. Please help it's driving me mad :) Thanks!error.PNG

0 Likes