On this page
What this issue is
Schema.org markup is code on your page that tells search engines what the page is about. On a product page, the Offer part describes the price. priceValidUntil is an optional property in that Offer. It holds a date in ISO format (for example 2026-12-31) after which the price is no longer valid.
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trail Backpack",
"offers": {
"@type": "Offer",
"price": "89.00",
"priceCurrency": "USD",
"priceValidUntil": "2023-12-31",
"availability": "https://schema.org/InStock"
}
}Why it costs you leads or sales
The impact is usually small, which is why this is a low-priority issue. Google's merchant listing documentation treats priceValidUntil as a recommended property. With an old date, your product may lose rich result details such as price, or Search Console may show a warning for the page. You can also lose out where shopping surfaces rely on current offer data.
Jan
Theme or developer hard-codes priceValidUntil as 31 December of that year.
Dec 31
The date passes. The page and price look unchanged to visitors.
Jan
Search engines see an offer whose validity has ended. Warnings may appear in Search Console.
After fix
Date is updated or removed and the page is re-crawled.
How to check if your site has it
Test one product page
Paste the URL into Google's Rich Results Test (search.google.com/test/rich-results) and open the Product or Merchant listings result. Look at the priceValidUntil value and any warnings.
Check Search Console
Open Search Console, go to Shopping or Enhancements, and open Merchant listings or Product snippets. Look for warnings that mention the price validity date.
View the page source
Open a product page, view source, and search for priceValidUntil. Note the date and whether it matches today or a past year.
Compare templates
Check a few products. If every page shows the same old date, it is set in a template, theme or plugin, not per product.
How to fix it
You have three options. Pick the one that fits your pricing.
| Situation | What to do |
|---|---|
| Price has no end date | Remove priceValidUntil. It is optional. |
| Real sale with an end date | Set the true end date, and update it when the sale changes. |
| Evergreen price but you want the field | Generate a rolling future date automatically in your template. |
Find the source
Product schema usually comes from WooCommerce, an SEO plugin (such as Yoast, Rank Math or similar) or your theme. Search your theme files and plugin settings for priceValidUntil.
Change or remove it
WooCommerce outputs a priceValidUntil based on the sale end date or a default. Set a sale end date on the product (Product data > General > Schedule), or use the plugin's filter to adjust the value. Hard-coded theme values should be edited in a child theme.
Open the theme code
Go to Online Store > Themes > Edit code. Search for priceValidUntil in the product template or snippets (often a structured data snippet).
Edit the Liquid
Replace a fixed date with a rolling one, or delete the line. Some apps add their own schema, so check app settings too.
Find the schema tag
If JSON-LD is injected by a Custom HTML tag, open it in Tags and search for priceValidUntil.
Update and publish
Edit the date or build it with a variable, preview the container, then publish.
Find the embed
Open the product or CMS template page, then Page settings > Custom code, or an Embed element, and look for the JSON-LD.
Edit and publish
Change the date or bind it to a CMS date field for sale end dates, then publish the site.
Open structured data settings
In the Wix editor go to SEO tools > Structured data markup or the page's SEO settings. Wix Stores generates product markup itself.
Edit custom markup
If you added custom JSON-LD, update or remove the date there.
Check code injection
Look in Settings > Advanced > Code Injection and in page-level code blocks for custom JSON-LD.
Update
Edit or remove priceValidUntil. Squarespace's built-in product markup is generated for you.
Find the template
Search your codebase for priceValidUntil.
Generate it
Build the date at render time instead of hard-coding it, for example one year ahead, as shown in the snippet below.
<?php
$price_valid_until = date('Y-m-d', strtotime('+1 year'));
?>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trail Backpack",
"offers": {
"@type": "Offer",
"price": "89.00",
"priceCurrency": "USD",
"priceValidUntil": "<?php echo $price_valid_until; ?>"
}
}
</script>Before
- priceValidUntil is 2023-12-31
- Date is hard-coded in the theme
- Warnings in Search Console
After
- Date is in the future or removed
- Generated at render time or tied to the sale end
- Markup matches the real offer
How to confirm it's fixed
- Rich Results Test shows a future priceValidUntil, or none, with no related warning
- View source on several products shows the new value
- Cached or CDN pages are purged so old markup is gone
- In Search Console, open the warning and click Validate fix
- The visible price on the page matches the Offer price
How to prevent it happening again
- Prefer generated dates over hard-coded ones
- Remove priceValidUntil when a price has no end
- Tie sale end dates to the product's sale schedule
- Put a yearly reminder in your calendar if you must keep a fixed date
- Review Search Console enhancement reports monthly
- Re-test a product page after theme or plugin updates
How FunnelGuard handles this
FunnelGuard does not check this yet. Reading schema dates on product pages is a possible future check, but today it is not part of the service.
What FunnelGuard does cover is nearby: a robot visitor runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads arrive. That protects the path to a sale, not your markup.
To watch for expired dates yourself, use Search Console's Merchant listings and Product snippets reports, re-run the Rich Results Test after template changes, and set a calendar reminder before any fixed date passes. A free read-only FunnelGuard website audit is also available, though it should not be treated as a schema date check.
Frequently asked questions
See the questions below for quick answers.
Questions people ask
What does priceValidUntil mean in schema markup?
It is an optional property of the Offer type that gives the date, in ISO format, until which the price is valid. After that date, search engines may treat the offer as out of date.
Why does Search Console say my priceValidUntil date is in the past?
The date in your Product schema has passed while the product is still for sale. It is often hard-coded in a theme or plugin and never updated. Change it to a future date or remove it.
Is priceValidUntil required?
No. Google treats it as recommended for merchant listings, not required. If your price has no end date, you can remove the property.
How do I fix an expired priceValidUntil in WooCommerce?
Set a sale end date on the product if it is a real promotion, or adjust the value with your SEO plugin's settings or a filter in a child theme. Then retest the page in the Rich Results Test.
Can I set priceValidUntil to a date far in the future?
You can use a rolling date such as one year ahead for ongoing prices. For real promotions, use the actual end date so the markup matches what shoppers see on the page.
Will an expired priceValidUntil hurt my rankings?
It is unlikely to change rankings directly. It can reduce rich result details like price or trigger warnings, so it is a low-priority clean-up.
Does FunnelGuard check priceValidUntil?
No, not yet. It is a possible future check. You can monitor it with Search Console and the Rich Results Test.
Related issues
- SEO-210Product schema missing on product pagesFix guide
- SEO-211Offer price in schema doesn't match the visible priceFix guide
- SEO-213priceCurrency missing or wrongFix guide
- SEO-212Offer availability in schema wrong (InStock when sold out)Fix guide
- SEO-224Required properties missing (name, image) causing errors in Search ConsoleFix guide
- SEO-228Merchant listing errors (shipping, return policy missing)Fix guide