Multi-size apparel storefronts on Shopify frequently run into Google Search Console Merchant listings warnings when default theme structured data emits isolated Product blocks or incomplete Offer properties. When refactoring structured data on ShaamG UK, moving to a proper ProductGroup schema with hasVariant resolved variant-level coverage while eliminating Search Console non-critical warnings across the catalog.
1. Structuring ProductGroup with hasVariant in Liquid
For multi-size garments—such as embroidered ensembles in the Women's Pakistani Suits Collection—each Shopify variant should map to a Product entry inside hasVariant, linked via variesBy: "https://schema.org/size" and a shared productGroupID. Importantly, Google's Merchant Listings validator checks each nested variant Product individually, so every variant object should include its own sku, image, description, offers, and hasMerchantReturnPolicy rather than relying solely on parent-level inheritance.
2. Fixing validFrom Alongside priceValidUntil
If your Liquid template outputs priceValidUntil inside an Offer, Google expects the paired validFrom field in ISO 8601 format (YYYY-MM-DD). Defining both validFrom and priceValidUntil programmatically in Liquid prevents Missing field 'validFrom' (in 'offers') warnings:
"offers": { "@type": "Offer", "priceCurrency": "GBP", "price": "89.99", "validFrom": "2026-11-23", "priceValidUntil": "2027-11-23", "availability": "https://schema.org/InStock" } 3. Providing returnShippingFeesAmount with ReturnShippingFees
When hasMerchantReturnPolicy specifies "returnFees": "https://schema.org/ReturnShippingFees", Google Search Console requires an explicit returnShippingFeesAmount typed as MonetaryAmount (with value and currency, such as "4.95" "GBP"), alongside shippingDetails (OfferShippingDetails). Once deployed on production items like the Shamoz Silk 3-Piece Suit, Live URL Tests immediately validate all variants with zero warnings.

