Missing field “priceValidUntil”

Viewing 2 replies - 1 through 2 (of 2 total)
  • This worked for me, put that into your (child-)theme functions.php

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        $entity['offers']['priceValidUntil'] = '2020-12-31';
        return $entity;

    That sets the date to until 31.12.2020 for all products. Later you have to move the date again. You can change that date every month also if you like.

    Hi Holger,

    Thanks for the input.

    Hi Daraz, we hope that the offered solution helps you get rid of the issue.

    If you need our help with anything, please do not hesitate to ask.


    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.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘Missing field “priceValidUntil”’ is closed to new replies.