Search Console fix

Missing field “priceValidUntil” 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
    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)

Open the Product Schema Fixer

When to add it

  • You have sale prices with an end date: the date is useful to Google.
  • You have normal prices: it’s optional. Leave it out, or use the rolling end-of-next-year date.
  • Never hard-code a fixed date in your theme: it silently goes stale.
Rolling date in Liquid
"priceValidUntil": "{{ 'now' | date: '%Y' | plus: 1 }}-12-31"

More guides

Based on Google’s merchant listing structured data docs, merchant return policy docs and merchant shipping policy docs.