Search Console fix
Missing field “shippingDetails” (in “offers”) on Shopify
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.
Required fields
Google requires these inside each OfferShippingDetails:
- shippingRate: a MonetaryAmount with value (0 for free) and currency. The currency must match the offer’s priceCurrency.
- shippingDestination: a DefinedRegion with a two-letter addressCountry.
- deliveryTime: handlingTime and transitTime, each with minValue, maxValue and unitCode "DAY".
"shippingDetails": {
"@type": "OfferShippingDetails",
"shippingRate": { "@type": "MonetaryAmount", "value": 5.99, "currency": "USD" },
"shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 1, "unitCode": "DAY" },
"transitTime": { "@type": "QuantitativeValue", "minValue": 2, "maxValue": 5, "unitCode": "DAY" }
}
}Free shipping over a minimum
Offer-level shipping can’t say “free over $50”. The snippet compares each variant’s price with your minimum: a $699 board gets a 0 rate, a $28 T-shirt gets your normal rate. The store-wide block states the minimum properly with orderValue conditions.
Shopify Markets and other currencies
On a market page the price is in the shopper’s currency but your rates are in your store currency. Google needs both in one currency, so the snippet leaves shippingDetails out on pages shown in another currency instead of writing wrong numbers.
Install the fix
- 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.