Schema Product Error using EDD

#126521
  • Hello,
    Overall RankMath is awesome.

    But I am facing an issue in schema since months, and unable to solve, can you please help.

    https://ibb.co/XLJtf2V

    It shows me the following warning
    brand
    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.
    warningoffers
    The offers 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.

    I have added the following in activated theme functions.php too
    But still getting the same errors.

    //Schema Code Starts
    add_filter( ‘rank_math/snippet/rich_snippet_product_entity’, function( $entity ) {
    $entity[‘brand’] = ‘My Brand Name’;
    $entity[‘offers’][‘priceValidUntil’] = ‘2025-12-31’;
    $entity[‘offers’][‘availability’] = ‘http://schema.org/InStock’;
    $entity[‘aggregateRating’][‘ratingValue’] = ‘4.9’;
    $entity[‘aggregateRating’][‘reviewCount’] = ’19’;
    $entity[‘review’][‘reviewRating’][‘ratingValue’] = ‘4.9’;
    $entity[‘review’][‘reviewRating’][‘bestRating’] = ‘5’;
    $entity[‘gtin8’] = ‘26598751’;
    $entity[‘review’][‘author’][‘name’] = ‘MyName’;
    return $entity;
    });

    Your Help would be highly appreciated.

    Thanks
    Abdullah

Viewing 1 replies (of 1 total)
  • Hello,

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

    The product schema that has issues on your site is coming from the plugin you are using to add reviews which seems to add an extra product schema. You also seem to have schema Pro on your site which is also optimizing your page schema.

    To confirm this conflict, assuming you are using the latest version of all the plugins and the themes (please update if not yet), please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    You should also go through this guide on configuring EDD schema with Rank math: https://rankmath.com/kb/rich-snippets/#easy-digital-downloads-schema

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Schema Product Error using EDD’ is closed to new replies.