promptunit

Ecommerce Product Schema Builder: Price, Shipping, Returns and Member Pricing

Shoppers want to see the price, sale price, shipping cost, delivery time and return policy before they click. Google can show all of this, if your schema is right. This prompt builds complete, valid product and store-wide schema for your shop, ready to paste or hand to your developer.

Works in ChatGPTClaudeGemini617 words9 inputs to fillSEO-046

Example input

This is exactly what we gave the model. You replace it with your own details.

- Store URL: https://shop.example.com (outdoor clothing)
- Platform and schema method: Shopify, theme JSON-LD (Dawn theme) plus a reviews app
- Countries I sell and ship to: Sell to the US and Canada; ship to both
- Shipping rules: US: free over $75, else $6.95, 3-5 business days, orders before 1pm ET ship the same day. Canada: flat $14.95, 5-8 business days. Heavy items over 10 lb add $10.
- Return policy: 30 days from delivery, free return label in the US, customer pays return shipping from Canada, refund to the original payment method
- Sale or strikethrough prices: Yes. Sale items show the old price struck through next to the sale price.
- Loyalty or member program with member prices or points: 'Trail Club' free membership: members get 10% off everything and earn 1 point per $1
- Do I use Google Merchant Center? Yes
- Paste current JSON-LD from one product page: {"@context":"https://schema.org","@type":"Product","name":"Ridge Rain Jacket","sku":"RRJ-22","image":"https://shop.example.com/cdn/ridge-jacket.jpg","offers":{"@type":"Offer","price":"129.00","priceCurrency":"USD","availability":"https://schema.org/InStock","url":"https://shop.example.com/products/ridge-rain-jacket"}}

Real output

Pasted straight from the model. We did not fix a word.

Here is the full setup for shop.example.com. I start with 5 short questions. I used my best guess for each one in everything below, so tell me if a guess is wrong and I will adjust the code.

Questions (my guesses are used below)

  1. Brand and barcodes: Is the Ridge Rain Jacket your own brand? Are UPC barcodes saved in Shopify's Barcode field? My guess: It is your own brand (shown as [YOUR BRAND]). Some products have barcodes, so the template prints gtin only when the Barcode field is filled in.
  2. Variants: Does the jacket come in sizes or colors, each with its own SKU, price and stock? My guess: Yes. The Product block below shows one variant. Your template repeats it for every variant.
  3. Trail Club math: Does the 10% member discount also apply to sale prices? Are points earned on the amount paid after the discount? My guess: Yes to both, rounded down. So $129.00 becomes a $116.10 member price that earns 116 points.
  4. Heavy items: Is the $10 added per item over 10 lb, in both countries, even when US shipping is free? My guess: Yes to all three.
  5. Canada currency: Do Canadian shoppers see prices in USD, and is the $14.95 in USD? My guess: Yes, USD everywhere.

Smaller guesses are marked (guess) where I use them.


1. Review of your current JSON-LD

FieldCurrentProblemFix
@idMissingYour reviews app probably prints its own Product block. With no shared ID, Google can see two products on one page, and one of them has no offer.Add "@id": "https://shop.example.com/products/ridge-rain-jacket#product" and use one Product block per page (step 7 in section 4).
name"Ridge Rain Jacket"OK, as long as it matches the page title (H1).Keep it.
descriptionMissingRecommended field.Add the page's product description as plain text.
image1 URLWorks, but Google recommends several large images.List 2 or 3 large product images with full https URLs.
brandMissingRecommended. Google and Merchant Center use it to match your product.Add Brand using Shopify's Vendor field.
gtinMissingNo product identifier.Add it from the variant's Barcode field. If a product has no barcode, leave the field out. Never make one up.
sku"RRJ-22"OK, but it looks like a parent SKU. Each size or color needs its own (question 2).Use the selected variant's SKU.
offers.price"129.00" (text)Works today. But a hard-coded or money-filter price can break (commas, "$") and won't change during a sale.Print a plain number from Liquid (variant.price).
offers.priceCurrency"USD"OK, if Canadian shoppers also see USD (question 5).Keep it.
offers.availabilityInStockIt must change per variant and with live stock. A fixed value goes stale.Build it from variant.available (InStock or OutOfStock).
offers.itemConditionMissingRecommended.Add NewCondition (guess: you sell only new items).
Sale (strikethrough) priceMissingYour page shows a struck-through old price on sale items, but the markup doesn't. So Google can't show the sale.Add a UnitPriceSpecification with priceType StrikethroughPrice from the compare-at price, plus priceValidUntil.
Member priceMissingThe Trail Club 10% price is not in the markup.Add a UnitPriceSpecification with validForMemberTier, but only if the member price is visible on the page (section 4, step 4).
shippingDetailsMissingNo shipping info. The heavy-item $10 extra is invisible to Google.Add store-wide hasShippingService on the Organization, and OfferShippingDetails on each product built from the same rules.
hasMerchantReturnPolicyMissingNo returns info. Your US and Canada terms differ.Add two policies, one for US and one for CA.
aggregateRatingNot in the theme blockIf the reviews app adds stars in a separate Product block, you get duplicate products.Keep one Product block and pull the real rating from the app's metafields. Never type ratings by hand.

2. Product JSON-LD

This is what a product page should output for the Ridge Rain Jacket at its real current price ($129.00, not on sale). Items in [brackets] are placeholders. Replace them before you test.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://shop.example.com/products/ridge-rain-jacket#product",
  "name": "Ridge Rain Jacket",
  "description": "[Same plain-text description that is shown on the product page]",
  "url": "https://shop.example.com/products/ridge-rain-jacket",
  "image": [
    "https://shop.example.com/cdn/ridge-jacket.jpg"
  ],
  "sku": "RRJ-22",
  "gtin": "[UPC from the Shopify Barcode field - delete this line if the product has none]",
  "brand": {
    "@type": "Brand",
    "name": "[YOUR BRAND]"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://shop.example.com/products/ridge-rain-jacket",
    "price": 129.00,
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceSpecification": [
      {
        "@type": "UnitPriceSpecification",
        "price": 116.10,
        "priceCurrency": "USD",
        "validForMemberTier": {
          "@id": "https://shop.example.com/#trail-club-member"
        },
        "membershipPointsEarned": 116
      }
    ],
    "shippingDetails": [
      {
        "@type": "OfferShippingDetails",
        "shippingDestination": {
          "@type": "DefinedRegion",
          "addressCountry": "US"
        },
        "shippingRate": {
          "@type": "MonetaryAmount",
          "value": 0,
          "currency": "USD"
        },
        "deliveryTime": {
          "@type": "ShippingDeliveryTime",
          "handlingTime": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 1,
            "unitCode": "DAY"
          },
          "transitTime": {
            "@type": "QuantitativeValue",
            "minValue": 3,
            "maxValue": 5,
            "unitCode": "DAY"
          }
        }
      },
      {
        "@type": "OfferShippingDetails",
        "shippingDestination": {
          "@type": "DefinedRegion",
          "addressCountry": "CA"
        },
        "shippingRate": {
          "@type": "MonetaryAmount",
          "value": 14.95,
          "currency": "USD"
        },
        "deliveryTime": {
          "@type": "ShippingDeliveryTime",
          "handlingTime": {
            "@type": "QuantitativeValue",
            "minValue": 0,
            "maxValue": 1,
            "unitCode": "DAY"
          },
          "transitTime": {
            "@type": "QuantitativeValue",
            "minValue": 5,
            "maxValue": 8,
            "unitCode": "DAY"
          }
        }
      }
    ],
    "hasMerchantReturnPolicy": [
      {
        "@type": "MerchantReturnPolicy",
        "applicableCountry": "US",
        "returnPolicyCountry": "US",
        "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
        "merchantReturnDays": 30,
        "returnMethod": "https://schema.org/ReturnByMail",
        "returnFees": "https://schema.org/FreeReturn",
        "refundType": "https://schema.org/FullRefund"
      },
      {
        "@type": "MerchantReturnPolicy",
        "applicableCountry": "CA",
        "returnPolicyCountry": "US",
        "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
        "merchantReturnDays": 30,
        "returnMethod": "https://schema.org/ReturnByMail",
        "returnFees": "https://schema.org/ReturnFeesCustomerResponsibility",
        "refundType": "https://schema.org/FullRefund"
      }
    ]
  }
}

What each part does, and the guesses in it

  • Main price ($129.00): This is the price anyone pays without joining. The member price must never go in offers.price. It belongs only in the validForMemberTier entry.
  • Member price ($116.10, 116 points): This is $129 × 0.9, with points on the amount paid, rounded down (guess, question 3). The @id must exactly match the tier @id in the Organization block.
  • US shipping $0: The jacket costs $75 or more, so US shipping is free (guess: "free over $75" means $75 and up). Canada is $14.95.
  • Handling 0–1 days: Product-level shipping in Google's docs has fewer fields than store-wide shipping. I don't rely on a cut-off time here, so "same day before 1pm, next day after" becomes 0–1 days. The exact 1pm ET cut-off lives in the Organization block and in Merchant Center.
  • Heavy items (over 10 lb): The same template prints higher rates. US is $16.95 when the item costs under $75 and $10.00 when it costs $75 or more. Canada is $24.95 (guess, question 4).
  • Returns: 30 days by mail and a full refund to the original payment method. US returns are free. In Canada the customer pays return shipping (ReturnFeesCustomerResponsibility). Items go back to a US address (guess).
  • No aggregateRating here on purpose. Add it only from your reviews app's real data (section 4, step 7).
  • Variants (question 2): If the jacket has sizes or colors, wrap the variants in a ProductGroup with hasVariant. Each variant then gets its own block like this one, with its own SKU, GTIN, URL (?variant=), price and stock. Check Google's product variants docs for the exact format.

Sale version of the price part (Liquid template)

When an item is on sale, the offer needs the old price as a strikethrough and an end date. I wrote this part as the Liquid that fills in your real numbers, so no example prices are invented. v is the selected variant.

{%- assign v = product.selected_or_first_available_variant -%}
{%- assign sale_end = product.metafields.custom.sale_end_date.value -%}
"price": {{ v.price | divided_by: 100.0 }},
"priceCurrency": "USD",
{%- if v.compare_at_price > v.price and sale_end != blank %}
"priceValidUntil": "{{ sale_end }}",
{%- endif %}
"priceSpecification": [
  {%- if v.compare_at_price > v.price %}
  {
    "@type": "UnitPriceSpecification",
    "priceType": "https://schema.org/StrikethroughPrice",
    "price": {{ v.compare_at_price | divided_by: 100.0 }},
    "priceCurrency": "USD"
  },
  {%- endif %}
  {
    "@type": "UnitPriceSpecification",
    "price": {{ v.price | times: 0.9 | divided_by: 100.0 | round: 2 }},
    "priceCurrency": "USD",
    "validForMemberTier": { "@id": "https://shop.example.com/#trail-club-member" },
    "membershipPointsEarned": {{ v.price | times: 0.9 | divided_by: 100 | floor }}
  }
],

Rules for sale items:

  • Print the strikethrough only when the compare-at price is higher than the current price. That is exactly when your page shows the struck-through price.
  • The strikethrough must be a real former price, not an inflated "was" price.
  • Print priceValidUntil only when you have a real sale end date. Don't use a made-up far-future date.
  • The member price is 10% off the sale price (guess, question 3). If the discount doesn't stack with sales, change that line to the price your checkout really charges.

3. Organization JSON-LD

This block goes on one page only, your home page. It holds the store-wide shipping, returns and Trail Club rules.

{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "@id": "https://shop.example.com/#organization",
  "name": "[STORE NAME]",
  "url": "https://shop.example.com/",
  "logo": "[FULL URL OF YOUR LOGO IMAGE]",
  "hasMerchantReturnPolicy": [
    {
      "@type": "MerchantReturnPolicy",
      "@id": "https://shop.example.com/#returns-us",
      "applicableCountry": "US",
      "returnPolicyCountry": "US",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "merchantReturnDays": 30,
      "returnMethod": "https://schema.org/ReturnByMail",
      "returnFees": "https://schema.org/FreeReturn",
      "refundType": "https://schema.org/FullRefund",
      "merchantReturnLink": "https://shop.example.com/policies/refund-policy"
    },
    {
      "@type": "MerchantReturnPolicy",
      "@id": "https://shop.example.com/#returns-ca",
      "applicableCountry": "CA",
      "returnPolicyCountry": "US",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "merchantReturnDays": 30,
      "returnMethod": "https://schema.org/ReturnByMail",
      "returnFees": "https://schema.org/ReturnFeesCustomerResponsibility",
      "refundType": "https://schema.org/FullRefund",
      "merchantReturnLink": "https://shop.example.com/policies/refund-policy"
    }
  ],
  "hasShippingService": {
    "@type": "ShippingService",
    "@id": "https://shop.example.com/#standard-shipping",
    "name": "Standard shipping",
    "fulfillmentType": "https://schema.org/FulfillmentTypeDelivery",
    "handlingTime": {
      "@type": "ServicePeriod",
      "duration": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 0, "unitCode": "DAY" },
      "cutoffTime": "13:00:00-05:00",
      "businessDays": {
        "@type": "OpeningHoursSpecification",
        "dayOfWeek": [
          "https://schema.org/Monday",
          "https://schema.org/Tuesday",
          "https://schema.org/Wednesday",
          "https://schema.org/Thursday",
          "https://schema.org/Friday"
        ]
      }
    },
    "shippingConditions": [
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
        "orderValue": { "@type": "MonetaryAmount", "minValue": 0, "maxValue": 74.99, "currency": "USD" },
        "weight": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 10, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 6.95, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
        "orderValue": { "@type": "MonetaryAmount", "minValue": 75, "currency": "USD" },
        "weight": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 10, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 0, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
        "orderValue": { "@type": "MonetaryAmount", "minValue": 0, "maxValue": 74.99, "currency": "USD" },
        "weight": { "@type": "QuantitativeValue", "minValue": 10.01, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 16.95, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "US" },
        "orderValue": { "@type": "MonetaryAmount", "minValue": 75, "currency": "USD" },
        "weight": { "@type": "QuantitativeValue", "minValue": 10.01, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 10.00, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "CA" },
        "weight": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 10, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 14.95, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 5, "maxValue": 8, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "CA" },
        "weight": { "@type": "QuantitativeValue", "minValue": 10.01, "unitCode": "LBR" },
        "shippingRate": { "@type": "MonetaryAmount", "value": 24.95, "currency": "USD" },
        "transitTime": {
          "@type": "ServicePeriod",
          "duration": { "@type": "QuantitativeValue", "minValue": 5, "maxValue": 8, "unitCode": "DAY" },
          "businessDays": {
            "@type": "OpeningHoursSpecification",
            "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday", "https://schema.org/Friday"]
          }
        }
      }
    ]
  },
  "hasMemberProgram": {
    "@type": "MemberProgram",
    "@id": "https://shop.example.com/#trail-club",
    "name": "Trail Club",
    "description": "Free membership. Members get 10% off everything and earn 1 point for every $1 spent.",
    "url": "https://shop.example.com/pages/trail-club",
    "hasTiers": [
      {
        "@type": "MemberProgramTier",
        "@id": "https://shop.example.com/#trail-club-member",
        "name": "Trail Club Member",
        "hasTierBenefit": [
          "https://schema.org/TierBenefitLoyaltyPrice",
          "https://schema.org/TierBenefitLoyaltyPoints"
        ],
        "membershipPointsEarned": 1
      }
    ]
  }
}

Why it is built this way, and the guesses in it

  • Six shipping conditions that never overlap. When several conditions match, Google uses the lowest cost. So each mix of country, order value and weight gets exactly one row:
    • US, under $75, up to 10 lb: $6.95
    • US, $75 and up, up to 10 lb: $0
    • US, under $75, over 10 lb: $16.95
    • US, $75 and up, over 10 lb: $10.00
    • CA, up to 10 lb: $14.95
    • CA, over 10 lb: $24.95
  • Weight rows need product weights. Google can apply the weight rows only if it knows each item's weight. In Merchant Center that is the shipping_weight attribute. Your product-level markup already prints the right rate for heavy items, so it doesn't depend on this.
  • Cut-off time: 13:00:00-05:00 is 1pm Eastern Standard Time. That is correct now, but daylight time starts on 14 March 2027, and then it must be -04:00. Merchant Center lets you set the cut-off with a time zone that handles this for you, and Merchant Center settings win anyway (section 5).
  • Business days are Monday to Friday for handling and transit (guess).
  • No region or postal codes. I assumed the same rates for every US state (including Alaska and Hawaii) and every province (guess). If Alaska and Hawaii cost more, add a US row with addressRegion: ["AK", "HI"]. Region codes work for the US but not for Canada, so use postal codes for Canadian exceptions. Never set a region and a postal code on the same row.
  • Returns: returnPolicyCountry: "US" means returns ship back to a US address (guess). The policy link uses Shopify's default refund-policy URL (guess).
  • Trail Club: The page URL /pages/trail-club is a guess. There is no hasTierRequirement because membership is free. membershipPointsEarned: 1 at the tier level is meant as "1 point per $1". Check how Google's loyalty docs define this field at the tier level.
  • Store name and logo are placeholders. Keep Dawn's existing logo and sameAs (social links) Liquid when you swap blocks (section 4, step 6).

Check these newer properties in Google's and schema.org's current docs before you publish. Google added several of them in 2025, and names or required fields may have changed:

  • Shipping: hasShippingService, ShippingService, ShippingConditions, ServicePeriod (cutoffTime, businessDays), orderValue, fulfillmentType
  • Loyalty: hasMemberProgram, MemberProgram, MemberProgramTier, hasTiers, hasTierBenefit, membershipPointsEarned, validForMemberTier
  • Sale prices: priceType with StrikethroughPrice
  • Returns: ReturnFeesCustomerResponsibility, refundType

4. Platform placement steps (Shopify, Dawn theme)

  1. Back up first. Go to Online Store → Themes → ⋯ → Duplicate. Edit the copy, preview it, then publish.

  2. Find every schema source. In Edit code, search for ld+json. In Dawn you will usually find:

    • sections/main-product.liquid: the Product block. Current Dawn uses one line, {{ product | structured_data }}. The block you pasted looks like an older or custom version.
    • sections/header.liquid: an Organization block printed on every page, plus a WebSite block on the home page.

    Then open a live product page, View Source, and search for ld+json again. Any block that isn't in your theme files comes from an app. Check Theme settings → App embeds too.

  3. Product block. Create snippets/schema-product.liquid and build the JSON-LD from Liquid. Render it once in main-product.liquid with {% render 'schema-product', product: product %}, then delete the old block so only one Product remains. Field map (v = product.selected_or_first_available_variant):

    • @id: {{ request.origin }}{{ product.url }}#product
    • offers.url: {{ request.origin }}{{ v.url }}
    • name: {{ product.title | json }}
    • description: {{ product.description | strip_html | strip | json }}
    • image: {{ product.featured_media | image_url: width: 1600 | prepend: 'https:' | json }}. Add 1 or 2 more from product.media.
    • sku: {{ v.sku | json }}
    • gtin: {{ v.barcode | json }}, printed only {% if v.barcode != blank %}
    • brand: {{ product.vendor | json }}
    • availability: {% if v.available %}https://schema.org/InStock{% else %}https://schema.org/OutOfStock{% endif %}
    • Prices: see the Liquid in section 2. Don't use money filters, because they can add commas or "$".
    • Heavy item: {% if v.weight > 4536 %}. Shopify stores variant weight in grams, and 10 lb is about 4,536 g.
    • US rate: 0 if v.price >= 7500 (Shopify prices are in cents), else 6.95. Add 10 if the item is heavy.
    • CA rate: 14.95. Add 10 if the item is heavy.
    • Variants (question 2): loop product.variants inside a ProductGroup with hasVariant, productGroupID and variesBy (size, color), so every variant is listed.
  4. Show the member price on the page. Markup must match what shoppers see. Add a line under the price, for example: "Trail Club price $116.10 · earn 116 points · Join free". Use the same Liquid math as the markup. Put it inside the price area (snippets/price.liquid or the price block in main-product.liquid) so it updates when a shopper picks another variant. Dawn re-renders the price area on variant change. If you don't want the member price on the page, remove it from the markup too.

  5. Sale end date. Shopify has no built-in sale end date. Add a product metafield custom.sale_end_date (type: Date) in Settings → Custom data → Products. Fill it in when you schedule a sale. The template prints priceValidUntil only when this date is set.

  6. Organization block. Replace Dawn's Organization block in sections/header.liquid with the block from section 3. Wrap it in {%- if request.page_type == 'index' -%} … {%- endif -%} so it prints only on the home page. Keep Dawn's logo and sameAs Liquid inside it, and leave the WebSite block alone. Don't leave the old Organization block in place, or your home page will have two.

  7. Reviews app (the most common source of duplicates).

    • Check whether the app prints its own Product block. Look in its settings for "rich snippets", "SEO" or "Google stars".
    • If it does, turn that off and add the rating to your snippet from Shopify's standard review metafields, which most review apps fill in:
    {%- assign r = product.metafields.reviews.rating.value -%}
    {%- assign rc = product.metafields.reviews.rating_count.value | default: 0 -%}
    {%- if r and rc > 0 -%}
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": {{ r.rating }},
      "bestRating": {{ r.scale_max }},
      "ratingCount": {{ rc }}
    },
    {%- endif -%}
    
    • If the app can't turn its schema off, ask its support. Until then, leave aggregateRating out of your block and make sure the app's block uses the same @id.
    • Never type rating numbers by hand.
  8. Other apps and leftovers. SEO or schema apps, and code left behind by apps you uninstalled, can add more blocks. Aim for exactly one Product (or ProductGroup) per product page and one Organization on the home page.

  9. Policy pages must say the same thing as the markup.

    • Shipping policy (/policies/shipping-policy, guess): $75 free threshold, $6.95, $14.95, +$10 over 10 lb, the 1pm ET cut-off, and 3–5 or 5–8 business days.
    • Refund policy: 30 days from delivery, a free label in the US, customer-paid return shipping from Canada, and refunds to the original payment method.
    • Trail Club page: 10% off and 1 point per $1.

5. Test and maintenance checklist

A. Merchant Center and Search Console conflicts (check these first)

Merchant Center and Search Console settings override page markup. If they disagree with your schema, Google shows the Merchant Center version.

  • Shipping (Merchant Center → Settings → Shipping and returns).
    • US: $6.95, free at $75 and up, +$10 over 10 lb, 3–5 business days.
    • Canada: $14.95, +$10 over 10 lb, 5–8 business days.
    • Handling: 0 days, 1:00 PM cut-off in the America/New_York time zone, Monday to Friday.
    • The weight surcharge needs a weight-based rate table and shipping_weight in your feed. If the Google & YouTube app set up shipping for you, check that it copied the threshold, the surcharge and the cut-off.
  • Returns. You need two return policies: US (30 days, free return label, refund to the original payment method) and Canada (30 days, customer pays return shipping). With only a US policy, Canadian listings may show the wrong terms.
  • Loyalty program. If Trail Club is set up in Merchant Center, its program and tier settings win. Member prices then come from your feed (the loyalty_program attribute, so check the current name in Merchant Center Help). Make sure the feed, the page and the schema all show the same 10% price and points. If it isn't set up there, check Merchant Center Help to see whether markup alone is enough for member prices in the US and Canada.
  • Sale prices in the feed. On a sale item, price should be the old price, sale_price the new one, and the sale end date should match priceValidUntil.
  • Automatic item updates (Merchant Center → automatic improvements). Google can use your page markup to correct feed price and stock. That helps when the markup is right. It hurts if a member price ever lands in offers.price.
  • Canada currency. If Shopify Markets sends a CAD feed or shows CAD to Canadian visitors while your schema says USD, prices won't match (question 5).
  • Identifiers. GTIN, brand and SKU in the feed match the schema.
  • Search Console → Settings → Shipping and returns. If anything is set there, it also overrides your markup. Keep Merchant Center as the one place you edit these rules.

B. Launch tests

  • Before you publish: in the theme preview, View Source, copy each ld+json block and paste it into the Rich Results Test (Code tab). You want zero errors and exactly one Product per page. Remove the placeholder GTIN line first.

  • After you publish: test these 5 live URLs in the Rich Results Test (URL tab):

    • a normal item over $75, like the Ridge Rain Jacket
    • an item under $75 (US shipping should be $6.95)
    • an item on sale (strikethrough and priceValidUntil)
    • an out-of-stock variant
    • an item over 10 lb (+$10)

    Each should show "Merchant listings" and "Product snippets" with no errors. Check that the detected values match the page.

  • Home page: test it in the Rich Results Test and at validator.schema.org. Confirm exactly one Organization (OnlineStore) block with shipping, returns and Trail Club.

  • Search Console → URL Inspection: request indexing for the home page and your top products.

  • After 1–2 weeks: open Search Console → Shopping → Merchant listings and Product snippets. Fix errors first, then warnings. A "missing GTIN" warning is fine for items that really have no barcode.

  • Merchant Center → Diagnostics: no new "price mismatch" or "availability mismatch" issues.

C. Monthly check (about 15 minutes)

  • Pick 5 products: one on sale, one out of stock, one over 10 lb, one under $75 and one bestseller. Compare the page with the Rich Results Test output: price, struck-through price, member price, points, stock and shipping cost.
  • No expired sales. No priceValidUntil date in the past, and no strikethrough after a sale has ended.
  • If shipping, returns or Trail Club terms change, update all four places the same day: the policy page, Merchant Center, the Organization block and the product snippet.
  • After any theme update or new app, View Source again. You should still have one Product per product page and one Organization on the home page.
  • Check the Search Console Merchant listings report and Merchant Center Diagnostics for new issues.
  • Twice a year, when daylight time starts and ends, update the cut-off time offset (-04:00 in summer, -05:00 in winter), or remove it and rely on Merchant Center's time-zone setting.

The prompt

First lines open so you can see how it is built. The rest opens after purchase.

the prompt · 617 words7 sections
#ROLE
You are a structured data expert for ecommerce and Google merchant listings. Build complete, valid schema for my store so Google can show prices, shipping, returns and member pricing.

#INPUTS
Fill in every line. Leave a line blank if you don't know it.
- Store URL: [STORE URL]
- Platform and schema method: [e.g., Shopify theme JSON-LD, WooCommerce + Rank Math, custom]
- Countries I sell and ship to: [LIST]
Full prompt opens after purchase
Sections inside: #ROLE #INPUTS #FACTS #PROCESS #OUTPUT FORMAT #RULES #QUALITY CHECK

How to use it

  1. Buy, then open it in your account.
  2. Copy the prompt into ChatGPT, Claude or Gemini.
  3. Replace the 9 inputs with your product.
  4. Run it. Use the output. Re-run with a different tone if you like.

Pro tips

  • Fill in your real shipping and return rules. Wrong schema here can show shoppers the wrong price in Google.
  • Check Merchant Center settings too. When they conflict with your schema, Merchant Center wins.
  • Run the monthly check it gives you. Price and stock drift is the most common schema error in stores.

Before you buy

Will it work for my product?
Yes, if you can fill the 9 inputs. If the output is bad with your inputs, email us: we fix the prompt and refund you.
Do I download a file?
No. It lives in your account with a copy button, and updates when we improve it.
Which model is best?
Best on Claude. Works in ChatGPT, Claude and Gemini.

Works well with this

Prompts people use in the same campaign.

More in Structured Data

See all in this sub-category

Buying more than two? Lifetime is cheaper.

Every prompt, every category, forever. $59 once. Nothing to download, nothing to renew.

Get lifetime · $59

This prompt

$3$7

  • ✓ Instant access in your account, with a copy button
  • ✓ Example input and real output included
  • ✓ 7-day money-back, no form

Or get every prompt, forever

Lifetime Access · $59 $149 — all categories, all future prompts, rewrites included.

Get lifetime access

Card or PayPal · taxes at checkout · nothing to download

Not the one you need?

Browse every prompt by category and sub-category.

Browse all prompts
Lifetime $59 →