Woocommerce Schema Error on Products

#86168
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for getting in touch.

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

    You can fix the SKU and availability issue easily as well:

    To fix the brand warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s brands.

    Brand Value

    If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:

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

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

    For the GTIN, ISBN, MPN issue, you can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/

    For the priceValidUntil warning, you have to either ignore that or add a sale price with validity to get rid of it: https://i.rankmath.com/cMqAAH

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    I told you that I am already using this plugin:
    https://wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/

    But seems like Rank Math is not compatible with it. It is showing schema error on that.

    Besides, you can see on my website that right now I am using SEOPress and there is not any problem on schema. They are all valid. But, problem comes only on Rank Math. That’s what I mean to say.

    Hello,

    Are you using a third-party plugin to acquire reviews? We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello Michael,
    I don’t like to go any further with it at now. But, it doesn’t mean that I am not satisfied with your support!
    However, I will be checking the changelog of future versions of Rank Math. When I see that problem doesn’t exists. I will be happy to move on Rank Math at that time!!

    Thank you for your time and support.

    Regards
    Shekhar

    Alberto
    Rank Math business

    Hello,

    We will be here if in the future you decide to come back to Rank Math and we will be more than happy to help you with any question!

    Thank 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Woocommerce Schema Error on Products’ is closed to new replies.