July 18th, 2023
Shopify’s dawn theme will cause a warning in Google Search Console.
Missing field "priceValidUntil" (in "offers")
While this warning does not affect ranking, it may affect appearance.
"priceValidUntil": "{{ 'now' | date: '%s' | plus: 86400 | date: '%Y-%m-%d' }}"
Place this snippet in main-product.liquid at the end of the ld+json segment.
This markup is not accepted by the Google search engine.
Need another code.
Use the code from the Dawn repo, they no longer parse out the individual values like this.