Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
My theme is Envy version 19.5.4. I am adding a code of different theme settings in the theme. but I have an error on setting schema JSON. I'm getting the Error: Invalid JSON: unexpected token error. I'm a saboor - but not a total newbie, so please help is appreciated.
this is the code:
{
"name": "custom image",
"settings": [
{
"type": "image_picker",
"id": "custom_image",
"label": "custom image",
"info": "set a custom image on theme file"
}
]
Solved! Go to the solution
This is an accepted solution.
Hi,
Looks like you have a missing } at the end of your json. Add it and it should be ok.
This is an accepted solution.
Hi,
Looks like you have a missing } at the end of your json. Add it and it should be ok.
Thank you
{
"name": "custom image",
"settings": [
{
"type": "image_picker",
"id": "custom_image",
"label": "custom image",
"info": "set a custom image on theme file"
}
]
}
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025