I’ve read the various other threads ( https://community.shopify.com/topic/1627579 ) on this same topic, but unable to get it to work on my Creative Theme, and I’m not sure if I’m misreading something or if my theme files are different.
I see a json file with the code but I am unable to find any liguid file that the various threads on this topic seem to be referring too.
I would like to hide the entire Product Story block when the product story image is not entered. It currently appears showing the default shopify place holder image when an image has not be selected. Below is the code from the json which looks similar to the code provided in the previously mentioned thread, but the json file doesn’t allow me to enter it.
As reference, I don’t want this place holder thumbnail (or bottom divider line for that matter) to appear when content hasn’t been added:
Thanks in advance.
“b3b04161-7baf-4edb-9b7d-020c67932289”: {
“type”: “profile”,
“settings”: {
“title”: “{{ product.metafields.custom.award_badge_title.value }}”,
“style”: “h3”,
“text”: “
{{ product.metafields.custom.award_badge_description | metafield_tag }}</p>”,
“divider”: false,
“image_toggle”: true,
“image”: “{{ product.metafields.custom.award_badge.value }}”,
“image_ratio”: “circle”,
“image_fit”: true,
“layout_desktop”: “desk-col-2”,
“layout_mobile”: “mob-col-2”,
“link_title”: “”,
“link”: “{{ product.metafields.custom.award_badge_link.value }}”,
“link_style”: “body”
}
},
“eb49ef92-1d1e-44fd-b080-b45004748108”: {
“type”: “spacer”,
“settings”: {
“top”: “none”,
“bottom”: “none”,
“border”: true
}
},
