Shopify Fix Missing field “priceValidUntil” (in “offers”)

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.


Comments

2 thoughts on "Shopify Fix Missing field “priceValidUntil” (in “offers”)"

  1. Werter says:

    This markup is not accepted by the Google search engine.
    Need another code.

    1. joeybab3 says:

      Use the code from the Dawn repo, they no longer parse out the individual values like this.

Leave a Reply

Your email address will not be published. Required fields are marked *