Appearance
Duplicate brand field
Duplicate brand field
This issue usually occurs when multiple JSON-LD (structured data) scripts on your Shopify theme define the brand property more than once. To resolve it, you’ll need to disable the duplicate JSON-LD code in your theme.
Step-by-step guide
Log in to your Shopify Admin
- Access your Shopify store using your admin account.
Go to Online Store
- In the left sidebar, click Online Store → Themes.
Edit your theme code
- Find your current (published) theme.
- Click Actions → Edit code.
Locate the JSON-LD code
- Look for files that commonly contain structured data, such as:
theme.liquid- Product or collection template files
- Snippet files related to SEO or schema
- Search for keywords like
application/ld+jsonor"brand".
- Look for files that commonly contain structured data, such as:
Disable the duplicate JSON-LD
Once you identify the extra JSON-LD block, comment it out using:
{% comment %} ... {% endcomment %}Make sure only one valid brand field remains.
Save your changes
- Click Save after editing the file.
Validate again
- Return to Google Search Console.
- Re-run the validation for the affected page to confirm the issue is resolved.
If you’re using an SEO or schema app, make sure your theme is not generating structured data automatically at the same time, as this is a common cause of duplicate fields.
If you need further assistance locating the duplicate JSON-LD code, feel free to contact SEOWILL Support Team.
