Skip to content
FunnelGuard

Fix guide by FunnelsGuard

priceValidUntil expired in Product schema: how to find and fix it

SEO-214Low impactOther toolBy FunnelGuardPublished Updated
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.

Example of an expired value in JSON-LDjson
{
  "@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.

How it usually unfolds (example dates)
  1. Jan

    Theme or developer hard-codes priceValidUntil as 31 December of that year.

  2. Dec 31

    The date passes. The page and price look unchanged to visitors.

  3. Jan

    Search engines see an offer whose validity has ended. Warnings may appear in Search Console.

  4. After fix

    Date is updated or removed and the page is re-crawled.

How to check if your site has it

Find expired priceValidUntil dates
  1. 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.

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

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

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

Choosing a fix
SituationWhat to do
Price has no end dateRemove priceValidUntil. It is optional.
Real sale with an end dateSet the true end date, and update it when the sale changes.
Evergreen price but you want the fieldGenerate a rolling future date automatically in your template.
Update the date by platform
  1. 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.

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

Rolling date one year ahead (PHP)php
<?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>
Product offer markup

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

Confirmation checks
  • 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

Prevention habits
  • 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.