Re: Adding image in product page below Buy now button

Solved

Adding image in product page below Buy now button

RPTrix
Tourist
9 0 1

Hi Team , I wanted to add an image below buy now button, but I am not sure how would I be able to do that, can you please help me out.

 

RPTrix_0-1679308691924.png

 

Accepted Solutions (3)

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

Hi @RPTrix 

Follow this

1. open theme editor and go to product page.

2. add new block "Custom liquid" and add this code

<img class="cd_img" src="https://cdn.shopify.com/s/files/1/0046/2156/6019/files/logo_small_071a9333-5026-42e0-b570-0914768cf642.png?v=1650033637&width=500">

 3. move it to below "buy now" block 

4. change img url with your image (upload in shopify file section)

5. save it

block.PNG

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here

View solution in original post

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

follow this

1. Go to Online Store->Theme->Edit code
2. Asset->base.css -> paste bellow code in bottom of file

@media only screen and (max-width: 767px) {
.cd_img{    width: 100%;}
}

 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here

View solution in original post

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

Add this code to remove possible space

.cd_img{margin: 0;}
.product-form{margin-bottom: 0;}
.product__info-container  .icon-with-text:last-of-type{    margin-top: 0;}
Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here

View solution in original post

Replies 23 (23)

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

Hi @RPTrix 

Follow this

1. open theme editor and go to product page.

2. add new block "Custom liquid" and add this code

<img class="cd_img" src="https://cdn.shopify.com/s/files/1/0046/2156/6019/files/logo_small_071a9333-5026-42e0-b570-0914768cf642.png?v=1650033637&width=500">

 3. move it to below "buy now" block 

4. change img url with your image (upload in shopify file section)

5. save it

block.PNG

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
RPTrix
Tourist
9 0 1

Yess done that, Thank you soo much for the help , but the image that i am adding is getting a bit blurred automatically and also there is some sizing and spacing issues

 

RPTrix_0-1679311946281.png

 

 

 

Jasoliya
Shopify Partner
4823 625 1225

Send me url

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
Jasoliya
Shopify Partner
4823 625 1225

your original image is blur see here,  upload bit big resolution image 

Cream_Beige_Black_Green_Feminine_Skincare_Tips_Checklist_Instagram_Post_4_x_8_cm.png

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
Jasoliya
Shopify Partner
4823 625 1225

add this url in editor "https://cdn.shopify.com/s/files/1/0703/3598/7985/files/Cream_Beige_Black_Green_Feminine_Skincare_Tip...

right now you have added link with width 300 thats why not generating original image 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
RPTrix
Tourist
9 0 1

Width set to 500 now, but in mobile view its showing like this, and also still showing a bit blurred

 

RPTrix_0-1679314930710.png

 

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

follow this

1. Go to Online Store->Theme->Edit code
2. Asset->base.css -> paste bellow code in bottom of file

@media only screen and (max-width: 767px) {
.cd_img{    width: 100%;}
}

 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
RPTrix
Tourist
9 0 1

Thank you soo much that solved the issue of the mobile view, could you please help me reduce this white spacing

 

RPTrix_0-1679318659120.png

 

Jasoliya
Shopify Partner
4823 625 1225

This is an accepted solution.

Add this code to remove possible space

.cd_img{margin: 0;}
.product-form{margin-bottom: 0;}
.product__info-container  .icon-with-text:last-of-type{    margin-top: 0;}
Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
RPTrix
Tourist
9 0 1

just to confirm , so that there is no error, is this part correct?

 

RPTrix_0-1679329798851.png

 

Jasoliya
Shopify Partner
4823 625 1225

No add given code direct in fine not with @media 

otherwise it will only work for mobile

Best regard 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
RPTrix
Tourist
9 0 1

Thank you soo much for the help, the issue is resolved

RPTrix101
New Member
24 0 0

Hi, i Tried the above steps in differet page ,but it does not seems to work

 

Desktop View:

RPTrix101_0-1708934768168.png

Mobile View:

RPTrix101_1-1708934808643.png

 

Want to resolve the image size in desktop view and reduce the white space above and below image in Mobile view

 

Thank you for the help

MuradCom
Visitor
3 0 0

hi Jasoliya, thank you for this. I implemented this solution. What about if I wanted to make this section full width, however?

tahu
Visitor
3 0 0

tahu_0-1679318934094.png

 

will the process be same for the above as well?

 

 

SaadM
Visitor
1 0 0

Hey, i just tried these steps and it worked but only problem is that its showing on all my products, which i don't want as every other product is obv diff, i want diff images for diff products how to fix this 

 

Concoeur
Tourist
5 0 1

Hey Jasoliya 🙂

I followed your steps and also included the custom liquid. unfortunately the picture below the buy botton is really big. is there an opportunity to make it smaller right below the buy botton? I included all payment terms as a picture as it looks better.

Thanks in advance and best regards
joe

asyoustyle
Visitor
2 0 0

can you help me what script should i use if i want to put image on particular product page

asyoustyle
Visitor
2 0 0

right now its shows in all products

Jasoliya
Shopify Partner
4823 625 1225

HI @asyoustyle 

Where do you want to add image ? send me store url so i can check

best regard 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
DBGG
Excursionist
19 0 0

I need help too adding shipping image below buy now button. Cant figure it out