Search Console fix
Shopify product schema: what your theme outputs and what’s missing
What you’ll need
Your shipping and return details (costs, times, return window)
A duplicate of your theme to test on
How to get this: A duplicate of your theme to test on
- Online Store › Themes › … on your theme › Duplicate.
- Make the change on the copy, preview it, and publish only when it works.
The theme code editor (to paste a snippet)
How to get this: The theme code editor
- On the copy of your theme: … › Edit code.
- Hover the snippets folder, click New File…, name it as the tool says, paste and Save.
What the theme outputs
In the markup Horizon 4.5 renders, a single-variant product is a Product with one Offer. A product with variants is a ProductGroup with productGroupID and a hasVariant list, each variant a Product with its own Offer.
- Included: @id, name, url, image, description, brand (the vendor), category (the product type), sku, offers (price, priceCurrency, availability, url).
- Not included: shippingDetails, hasMerchantReturnPolicy, gtin, itemCondition, priceValidUntil.
Common problems on Shopify
- Two Product blocks on one page: the theme’s and an SEO app’s. Keep one.
- Older themes (Debut, Brooklyn) use microdata or hand-written JSON-LD that can break on a title with a quote mark.
- An empty description: Google reports Missing field "description" when the product has no description.
- Prices written as text with a currency symbol, which Google can’t read.
Fix it without an app
- Open the Product Schema Fixer, fill in your shipping zones and return policy, and download est-product-schema.liquid.
- In Shopify go to Online Store › Themes, click ⋯ on your theme and choose Duplicate. Work on the copy.
- On the copy choose ⋯ › Edit code. Under Snippets click Add a new snippet, name it est-product-schema and paste the file.
- Open sections/product-information.liquid (Horizon) or sections/main-product.liquid (Dawn). Replace the <script type="application/ld+json"> block that contains structured_data with {% render 'est-product-schema', product: closest.product %} (Dawn: product: product).
- Preview the copy, open a product page, view the page source and paste it into the checker. When it shows no warnings, publish the copy.
- In Search Console open the Merchant listings report and click Validate fix.
More guides
Based on Google’s merchant listing structured data docs, merchant return policy docs and merchant shipping policy docs.