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
- 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.
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.
"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.