Change the "no image" Picture | Supply theme

Excursionist
102 0 1

I need to change the shopify no image photo to one of my own.

0 Likes

Hello 

Refer below URL this will help you.
https://community.shopify.com/c/Shopify-Design/Default-Image/td-p/91839

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Custom Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Digital Marketing | Site Speed Optimization | Web Development
0 Likes
Excursionist
102 0 1

I don't get it. I dont know where to put the code. I uploaded the image and added it as an asset.

0 Likes

Okay 
Refer this link.
https://dozenpixels.com/blog/post/automatically-add-default-images-to-shopify-products

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Custom Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Digital Marketing | Site Speed Optimization | Web Development
0 Likes

like that, 

 

{% if product.images.size == 0 %}

 

{{ 'default.png' | asset_url | img_tag }}

<img src="put here img cdn link"> 

{% else %} // show product image

 

{% endif %}

 

 

if you have image CDN than use 

<img src="put here img CDN link"> 

Shopify theme developer and customization

Would like to add new functionality or customize an existing one, please hire us.
If helpful then please Like and Accept Solution .
Email: ashiquehussaincodediary@gmail.com
0 Likes
Highlighted
Excursionist
102 0 1

and where do i paste that?

0 Likes