Hello,
I apologize for the issue you are facing with the Schema markup for your product price that varies depending on the date. To handle this scenario where the price varies and you don’t have a fixed set price, you can follow these steps:
-
Price Range: Unfortunately, Rank Math does not have a specific field for a price range in the Schema markup. However, you can consider adding the lowest and highest possible prices in the “price” field separated by a hyphen to indicate a range. For example, you can enter something like “$100 – $200” to represent a price range.
-
Price Valid Until: Since your price varies depending on the date, you can utilize the “Price Valid Until” field in the Schema markup. This field allows you to specify the last date until which the current price is valid. You can set an end date for the current price variation using this field.
Here is how you can set the “Price Valid Until” date in Rank Math:
- When setting a sale price for your product, click on the Schedule option and set an end date for the sale price.
- If no specific date is added, Rank Math will automatically add a default value for “Price Valid Until,” which is the last date of the following year.
By utilizing these options creatively, you can provide more context about the pricing of your product in the Schema markup. If you have any further questions or need assistance, please feel free to ask.
Thank you for raising this concern, and we appreciate your attention to detail in providing accurate information for your product schema.
Sources:
How to Use Product Schema for WooCommerce Products » Rank Math
How to Use Product Schema for WooCommerce Products » Rank Math
Using Review Schema Type to Earn Star Ratings » Rank Math
How to Use Product Schema for WooCommerce Products » Rank Math
How to Customize Schema Markup for WooCommerce Products » Rank Math
I’ve tried marking a range like “$100 – $200” but it doesn’t accept anything other than numbers so I can’t put characters like space or hyphens.
Hello,
If you wish to do this with our plugin, you need to manually do it using the Product schema and with the help of our PRO feature’s advanced schema generator.
If you would like to have multiple offers for the same product, you can use the following as an example of what to use in the Advanced Schema Generator, which is available only using Rank Math PRO:

That would essentially create a price range and it would be eligible to display on SERPs with this information for the product rich snippets.
Since you are a Free user, you may use this filter to apply the prices to each variation:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
return $entity;
} );
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.