How to fix missing Schema property: missing field “priceValidUntil”
The warning missing field “priceValidUntil
“ occurs in Google Search Console when a product has no sale price set. The priceValidUntil
property only makes sense for products on sale. This value is optional, and not adding it will not harm your product’s appearance in the search results.
If you use WooCommerce with WooCommerce SEO, all you need to do is configure the sale price and the duration of your products’ sale in the General tab of the WooCommerce meta box. Then, the WooCommerce SEO plugin will automatically add the correct structured data to your product and fix the missing field “priceValidUntil
“ issue!
Fixing the missing Schema property: missing field “priceValidUntil”
To add the necessary information for the priceValidUntil
property, and to allow WooCommerce SEO to output the correct structured data, follow these steps below.
- Select the product you want to edit under Products
- Go to the WooCommerce meta box
You will see the meta box with various tabs. The General tab will be open by default.
- Under General, add the Sale price
You can add the price with one monetary decimal point (.) without thousand separators and currency symbols.
- Click Schedule next to Sale price
Some additional options will be revealed (shown in the image below).
- Insert the sale start and end date
You can enter the dates manually, by following the template shown in the input field. Alternatively, you can use the calendar that appears when you click on the input field.
- Click Update
WooCommerce SEO will automatically add the
priceValidUntil
property to the product.