I’m currently using the enterprise theme by Clean Canvas and I’m having some trouble with Duplicate field “brand”. I need to find the JSON.LD but i’m having trouble finding it in the code. Could someone please tell me where it is located for the enterprise theme. Thank you
Thanks for sharing the details. The duplicate “brand” issue in the JSON-LD usually happens when both the Shopify system and the theme itself output a brand field.
In the Enterprise theme by Clean Canvas, the JSON-LD code is typically located in one of the following files:
snippets/json-ld.liquid,
snippets/product-schema.liquid, or
Inside the product.liquid or main-product.liquid template.
If you could add me as a collabrator in your store by sharing the code then I can take a look and fix it.
Thanks, the only thing i can find is the main-product.liquid under section. However when I’m in it and search for JSON-LD nothing comes up. Thanks for your offer to help, but I’m using this problem as a learning experience for me
If you could download your theme and upload it to the github repo and then share the repo link with me then would be possible for me to take a look into it.
Search for ld+json to find the structured data in your theme. I would assume you have an app that is linking data with your theme markup causing the error. If that’s the case, tell your app not to use the same @id as your theme.