woocommerce search console issues

#622876
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please share the affected URL so we can check as well?

    Also, are you using a 3rd party plugin to add reviews on your products?

    Looking forward to helping you.

    Thank you.

    to make it clear i don’t have any reviews on that product
    this issue appears on all listings of my site
    is it possible to solve it without having reviews?
    here is 1 example
    https://tinyurl.com/hdd8se9v

    Thanks

    Hello,

    In this case, you can try to remove the reviews from your website by using the following filter:

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

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    will this remove completely the review function from woocommerce?

    Hello,

    The filter will remove the aggregateRatings and review properties from the Product Schema of our plugin. However, since you don’t have reviews, they shouldn’t be added to the Schema in the first place.

    I can check that you are using the filter to add the aggregateRatings to the Schema. Please remove the filter you added before to fix the issue.

    Hope that helps. Let us know if you need any other assistance.

    you probable mean the php i had added from this page
    https://rankmath.com/kb/aggregate-rating-error/

    this the only custom sippet i had added to fix rating issues in google search console
    please advice me if i should remove it

    Hello,

    I would suggest removing it to remove the error. Once you remove it, a warning will appear and you can safely ignore that. It is quite normal for Google to look for a review of your product schema and if you don’t have any review yet, Google will just show a warning and it is nothing critical so it is very safe to ignore.

    Adding the filter code will just add an error because you actually don’t have any reviews on your product yet.

    Once your product has been reviewed, our plugin will automatically add the aggregateRating property.

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

    Thanks
    your help is really appreciated

    Hello,

    We are super happy that we could address your concern.

    If you 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.

    do you still recommend to add the php code that is provided here above?

    Hello,

    Thank you for getting back to us.

    Are you referring to this PHP code? If yes, then no you do not need to add the PHP code.

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

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

The ticket ‘woocommerce search console issues’ is closed to new replies.