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)

1Your shipping and returns

Use the same values as your store’s shipping settings and refund policy. Your answers stay in this browser and are shared with the Policy Generator.

Your store
Your main domain, starting with https://
Settings › Store details › Store currency
Shipping
to
Days to pack an order before it ships. 0 = same day.
24-hour time and UTC offset, e.g. 14:00 and -05:00
Days you ship orders
Ships toCountry codesRateFree overDelivery daysRemove

Use two-letter codes (US, CA, GB, AU). Rate 0 = free shipping. “Free over” is your free-shipping minimum, blank if none.

Returns
Counted from delivery.
How customers return
Refund as
Blank if the same as where you ship from.
0 if none.
Items accepted back
Product details
Identifiers

2Your snippets

est-product-schema.liquid replaces your theme’s product JSON-LD and puts shipping and returns on every offer. That is what clears the warnings. est-store-policies.liquid adds the store-wide policy Google recommends. Use both.

3Install on a duplicate theme

  1. In Shopify go to Online Store › Themes, click ⋯ on your current theme and choose Duplicate. Make every change on the copy.
  2. On the copy choose ⋯ › Edit code. Under Snippets click Add a new snippet, name it est-product-schema and paste the first file. Do the same for est-store-policies.
  3. Open layout/theme.liquid and add {% render 'est-store-policies' %} on the line before </head>.
  4. Replace your theme’s product JSON-LD with the render line:
ThemeFileReplaceWith
Horizon (and Shopify’s other 2025+ themes)sections/product-information.liquid<script type="application/ld+json"> {{ closest.product | structured_data }} </script>{% render 'est-product-schema', product: closest.product %}
Dawn (and themes built on it)sections/main-product.liquid<script type="application/ld+json"> {{ product | structured_data }} </script>{% render 'est-product-schema', product: product %}
Older themes (Debut, Brooklyn, custom)Search Edit code for "@type": "Product" or structured_dataThe whole <script type="application/ld+json"> block that contains "@type": "Product"{% render 'est-product-schema', product: product %}
  1. Click Preview on the copy, open a product, view the page source (Ctrl+U, or ⌘⌥U on a Mac), copy it and paste it into Check a page.
  2. When the check is clean, publish the copy. In Search Console open Merchant listings and click Validate fix.

4Preview

How it works

  1. Fill in where you ship, your rates and delivery days, and your return policy.
  2. Download the two snippets and add them to a duplicate of your theme.
  3. Swap your theme’s product JSON-LD line for the render line.
  4. Paste a product page’s source into the checker until it’s clean, then publish and click Validate fix in Search Console.

Guides

Questions

Are these warnings hurting my store?

They’re non-critical. Products still appear in Google. Filling them in lets Google show your shipping cost, delivery time and return window next to your products, which can help shoppers choose you.

Why doesn’t the store-wide policy clear the warning?

Google recommends a store-wide return and shipping policy, and reads it. But Google’s Rich Results Test keeps flagging the per-offer warnings with only the store-wide block, and clears them once each offer has its own policy. The product snippet does that.

Will this break my theme?

The snippet only replaces the theme’s product JSON-LD block. Work on a duplicate theme, check a product page with the checker, then publish. To undo, put the original line back.

What about Search Console or Merchant Center settings?

If you set shipping and returns in Search Console or Merchant Center, Google uses those ahead of the markup. Use the same values in both so they never disagree.

I sell in several currencies with Shopify Markets.

Google needs shipping costs in the offer’s currency. The snippet adds shipping details only on pages shown in your store currency, and leaves them out elsewhere rather than showing wrong amounts.

Does it work with an SEO app’s schema?

Use one or the other. Two Product blocks for the same product confuse Google. The checker warns when it finds two.

Based on Google’s merchant listing structured data docs, merchant return policy docs and merchant shipping policy docs. The snippets render for single-variant and multi-variant products, and their output passes Google’s Rich Results Test with no merchant listing warnings.