Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @dzire2dzine

    Thank you for contacting the support.

    Please use the following filter to change the Brand type:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	if ( isset( $entity['brand'] ) ) {
    		$entity['brand']['@type'] = 'Brand';
    	}
    	return $entity;
    });

    As far as rating and gtin values are concerned, Rank Math uses the value from Product’s reviews and attributes.

    Hope that helps.

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    Thanks for the code, it helped. We don’t have global identifier for our product.
    And there is review but still getting itemReviewed, ratingValue error.

    https://ssfurnishings.com/product/11419/bricked-02-patch-wine-color-9ft-long-door-10-eyelet-1pc-curtain/

    Also why dose seller ID takes siteurl and seller URL also takes siteurl instead of home address?

    • This reply was modified 3 years, 10 months ago by Saket Jajodia.
    • This reply was modified 3 years, 10 months ago by Saket Jajodia.
    Plugin Author Rank Math

    (@rankmath)

    Hello @dzire2dzine

    Glad that helped.

    As mentioned previously, 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.
    https://i.rankmath.com/Ni50EF

    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 quickly as well: https://i.rankmath.com/wtM5aM

    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.
    https://i.rankmath.com/Atiq6s

    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:
    https://pastebin.com/JEfTheYn

    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.

    Thank you.

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    Hi there,

    Yes i am aware how it all works and thats why I haven’t mentioned anything about aggregateRating warning. I am talking about itemReviewed & ratingValue errors. If you please visit this link you understand:
    https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fssfurnishings.com%2Fproduct%2F11419%2Fbricked-02-patch-wine-color-9ft-long-door-10-eyelet-1pc-curtain%2F

    Brand warning, I already received the answer, thanks tho.

    I am very sorry to say but the last reply isn’t anywhere related to my query. It seems a copy-past response.

    I don’t have global identifier or GTIN, ISBN, MPN detail for my product. I read that we should add identifier_exitits: no, but that is not working. So if you can help me fix that I really appreciate it.
    https://support.google.com/google-ads/thread/9682575?hl=en

    3rdly, I am not sure if this is a problem or not. I am just trying to understand, why dose seller > ID takes siteurl and seller > URL also takes siteurl instead of home address?
    https://snipboard.io/Qg4Ksu.jpg

    Hope this clear what I am trying to convey. Thank you.

    Plugin Author Rank Math

    (@rankmath)

    Hello @dzire2dzine

    1. The aggregateRating error you are seeing is not from the Schema generated by the Rank Math plugin. Please check this screencast: https://i.rankmath.com/JDbgjV
    Your theme or some other plugin is adding the aggregateRating Schema. You would need to determine that by disabling other plugins/themes.

    2. The identifier_exitits is used in the feed, not in the Schema. You can safely ignore those global identifier warnings if your products do not have global identifiers.

    3. Seller ID: ID must be unique. Google does not use it, they only use Seller URL. ID is used to map the Schema elements.

    Hope that helps. If there’s anything else we can help you with, please let us know. We are here to assist.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘itemReviewed, ratingValue & global identifier error’ is closed to new replies.