Problem for Schema.org Rich Snippet (Product)

#3858
  • Resolved Dampden
    Rank Math free

    Hi. I get all these warnings in structured data in the -product-
    warningpriceValidUntil
    The priceValidUntil field is recommended. Please provide a value if available.
    warningurl
    The url field is recommended. Please provide a value if available.
    warningaggregateRating
    The aggregateRating field is recommended. Please provide a value if available.
    warningbrand
    The brand field is recommended. Please provide a value if available.
    warningdescription
    The description field is recommended. Please provide a value if available.
    warningimage
    The image field is recommended. Please provide a value if available.
    warningreview
    The review field is recommended. Please provide a value if available.
    warningsku
    The sku field is recommended. Please provide a value if available.
    warning
    This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.
    and also these 5

    warningpriceValidUntil
    The priceValidUntil field is recommended. Please provide a value if available.
    warningaggregateRating
    The aggregateRating field is recommended. Please provide a value if available.
    warningbrand
    The brand field is recommended. Please provide a value if available.
    warningreview
    The review field is recommended. Please provide a value if available.
    warning
    This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers..
    These warnings is for this product.
    https://dampden.com/eleaf-itap-pod-starter-kit-800mah/
    but these warnings goes for all the products.
    Thank you for your wonderfull plugin. Regards Dan

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Rank Math will grab the values referenced in the warnings from your WooCommerce settings. To fix these issues, you will need to do the following:
    – warningpriceValidUntil, you can fix this error by assigning a “Sale” price via your WC product page.
    – aggregateRating and review errors can be fixed by allowing some reviews on your products and having your customers write reviews for them.
    – brand you can fix this error by making use of the following code and replacing Rank Math with the name of your brand:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    $entity['brand'] = 'Rank Math';
    return $entity;
    });

    – description you can fix this by writing a product short description
    – image and sku can be assigned from the WC product settings page when editing your product
    – This Product is missing a global identifier (e.g. isbn, mpn or gtin8) You can fix this by installing the following plugin: https://wordpress.org/plugins/woo-add-gtin/
    – availability you can define this value from the WC settings as well by defining an expiry date for your sale price.

    I hope this info helps. Thanks.

    ​​​​​​​

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Problem for Schema.org Rich Snippet (Product)’ is closed to new replies.