Issue on woocommerce structured data

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for getting in touch with us.

    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.

    Thanks for everything but the strange warnings are the three in the bottom

    URL field missing
    price format not valid
    SKU missing (but the sku is there and used)

    Hello,

    We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates

    beta update

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
    remove transients rank math

    Please clear the caches, server, and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and if the issue is fixed.

    We are here to assist. Thank you.

    Oh thanks. I’d prefer not to use beta versions but I’ll wait for the next release since your answer let me suppose that there’s something to be fixed in RM.

    Can’t wait to put my hands on the pro version 😀

    Hello,

    You can safely use the latest beta on your live site, we are using it as well on all our web properties.

    If you see any discrepency, please let us know. We are here to help.

    Thank you.

    Ok so I’ll try

    Hello,

    We released a stable version. You can update your website to that.

    If you face any issue, please feel free to let us know.

    We are here to assist.

    Thank you.

    Ok thanks I’ll try it!

    Hello,

    We are glad we could assist.

    Let us know when you do and if there are any further issues

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.