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
    1. Online Store › Themes › … on your theme › Duplicate.
    2. Make the change on the copy, preview it, and publish only when it works.

    Step-by-step guide (opens in a new tab)

  • The theme code editor (to paste a snippet)

    How to get this: The theme code editor
    1. On the copy of your theme: … › Edit code.
    2. Hover the snippets folder, click New File…, name it as the tool says, paste and Save.

    Step-by-step guide (opens in a new tab)

Open the Product Schema Fixer

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

  1. Open the Product Schema Fixer, fill in your shipping zones and return policy, and download est-product-schema.liquid.
  2. In Shopify go to Online Store › Themes, click ⋯ on your theme and choose Duplicate. Work on the copy.
  3. On the copy choose ⋯ › Edit code. Under Snippets click Add a new snippet, name it est-product-schema and paste the file.
  4. 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).
  5. 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.
  6. 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.