Hi community,
Hope everyone is well. I was wondering whether it is possible to set a default value for the imagepicker type in index.json
Kind regards,
Musango
A user asks whether it’s possible to set a default value for the imagepicker type in Shopify theme settings (index.json).
Community Response:
Suggested Solution:
{% if %} statement that tests section.settings.image == blankThis approach allows developers to show a placeholder image when merchants haven’t uploaded a custom image through the theme editor.
Hi community,
Hope everyone is well. I was wondering whether it is possible to set a default value for the imagepicker type in index.json
Kind regards,
Musango
Hi!
Doing it in schema isn’t possible.
The way you can put the default image src: