Split: WooCommerce GTIN

#22100
  • Resolved Darryl Kinley
    Rank Math free

    I’m having trouble getting rid of product errors in Google Search Console. I have the premium version of your plugin which adds these fields. Is there another step to get them to actually map to Google? Looking at other topics, I have added a review and set the end date for the price. There is data in both the Brand and SKU feilds.

    It would be awesome if I could get this resolved.

    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.
    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.
    cancel
    One of offers or review or aggregateRating should be provided.

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

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

    Would you mind sharing a link to one of the affected products via the sensitive data section so that we can advise further?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thanks for the follow up.

    Google Structured data testing tool throws warning for the missing fields in the isrelatedTo attribute but it’s a false positive. In isRelatedTo field only product name and URL of the related products are required. You can check this in the new Google Rich Snippet testing tool: https://search.google.com/test/rich-results

    Still, if you want to remove the isRelatedTo then please add the following code in your theme’s functions.php file:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	if ( isset( $entity['isRelatedTo'] ) ) {
    		unset( $entity['isRelatedTo'] );
    	}
    	return $entity;
    });

    The only warnings that are present have to do with the review fields, you will need to have your users add reviews and ratings and also a global identifier.

    Hope that helps. If there is anything else, please let us know.

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

The ticket ‘Split: WooCommerce GTIN’ is closed to new replies.