Guides › shippingDetails

Shopify "Missing field shippingDetails": what it means and how to fix it

If Search Console's Merchant listings report shows Missing field "shippingDetails" or Missing field "hasMerchantReturnPolicy" on your Shopify product URLs, your product pages have Product markup with no shipping or return information in it. That's common. Shopify's structured_data Liquid filter, which current Shopify-built themes use, outputs name, brand, description, image and offers (price, currency, availability, URL). Its own documented output example has no shipping or return fields.

Short version: Google lists shippingDetails and hasMerchantReturnPolicy as recommended (not required) properties of Offer in its merchant listing documentation. They're non-critical warnings, but they carry the shipping cost and return window that Google can show next to your product.

Step 1: decide where your shipping and return data should live

Google reads shipping and return information from several places and, when they overlap, uses this order of precedence (strongest first), per its shipping policy and return policy docs:

  1. Product-level data in Merchant Center (feed attributes / API)
  2. Account settings via the Content API for Shopping
  3. Settings in Merchant Center or Search Console
  4. Product-level markup on your page (shippingDetails / hasMerchantReturnPolicy under Offer)
  5. Store-level markup (hasShippingService / hasMerchantReturnPolicy under Organization)

So if your shipping and returns are already set correctly in Merchant Center, Google uses those for Shopping, and the markup warning matters less. If you don't use Merchant Center, or want your organic product results to carry the information as well, add markup. Whichever you choose, every source has to say the same thing as your published policy pages.

Step 2 (recommended): one store-level block in theme.liquid

Google recommends that a standard return policy covering most products be nested under Organization with hasMerchantReturnPolicy, and that a standard shipping policy use Organization → hasShippingService → ShippingService. Paste this just before </head> in layout/theme.liquid on a duplicate theme, and change the country, rate, days and fees to match your policy:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": {{ shop.name | json }},
  "url": {{ shop.url | json }},
  "hasMerchantReturnPolicy": {
    "@type": "MerchantReturnPolicy",
    "applicableCountry": "US",
    "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
    "merchantReturnDays": 30,
    "returnMethod": "https://schema.org/ReturnByMail",
    "returnFees": "https://schema.org/ReturnFeesCustomerResponsibility"
  },
  "hasShippingService": {
    "@type": "ShippingService",
    "shippingConditions": {
      "@type": "ShippingConditions",
      "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
      "shippingRate": { "@type": "MonetaryAmount", "value": 5.99, "currency": "USD" },
      "transitTime": { "@type": "ServicePeriod",
        "duration": { "@type": "QuantitativeValue", "minValue": 2, "maxValue": 5, "unitCode": "DAY" } }
    },
    "handlingTime": { "@type": "ServicePeriod",
      "duration": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 2, "unitCode": "DAY" } }
  }
}
</script>

Step 3 (optional): per-offer shippingDetails

Use product-level markup only to override the store policy, for example on oversize items. Inside each Offer:

"shippingDetails": {
  "@type": "OfferShippingDetails",
  "shippingRate": { "@type": "MonetaryAmount", "value": 0, "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" }
  }
}

Google requires minValue, maxValue and unitCode (DAY or d) on each QuantitativeValue for handling and transit times. With returnPolicyCategory set to MerchantReturnFiniteReturnWindow, merchantReturnDays is required.

Step 4: validate, then ask Google to recrawl

  1. Paste one product URL from the duplicate theme's preview into Google's Rich Results Test. Check that a single Product item appears with no critical errors.
  2. Publish, then use URL Inspection in Search Console to request indexing for a few product URLs.
  3. Use the Validate fix button in the Merchant listings report.

Common mistakes we see on Shopify

Check your own store in 20 seconds

FeedReady reads your live Shopify product pages and lists exactly which of these fields are missing, broken or duplicated, then hands you a pre-filled Liquid patch.