Osclass Support Forums

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Olegs on June 07, 2019, 12:00:40 AM

Title: «offers», «review» or «aggregateRating».
Post by: Olegs on June 07, 2019, 12:00:40 AM
Error in Google Search Console "Set a value for one of the following data items:" offers "," review "or" aggregateRating "."


How to get rid of this error?

Thanks
Title: Re: «offers», «review» или «aggregateRating».
Post by: MB Themes on June 10, 2019, 08:43:36 AM
@Olegs
If I am correct, it is just warning and recommendation, if listing does not have any rating, what you want to show there, what kind of rating?
Title: Re: «offers», «review» или «aggregateRating».
Post by: Olegs on June 10, 2019, 10:44:47 AM
@Olegs
If I am correct, it is just warning and recommendation, if listing does not have any rating, what you want to show there, what kind of rating?


@Mb themes, this is not recommendation,  its show like errors. And i don't want to show any rating. I just want to hide this errors

screenshot attached
Title: Re: «offers», «review» или «aggregateRating».
Post by: MB Themes on June 10, 2019, 04:42:57 PM
@Olegs
So set there some fake values for rating if you think it's going to help you
Title: Re: «offers», «review» или «aggregateRating».
Post by: Olegs on November 20, 2019, 01:29:26 AM
@Mb themes
 I Still have this error, and its growing up. It seems to me that this affects on CTR in google search console. How to get rid of it? any ideas ?
Title: Re: «offers», «review» или «aggregateRating».
Post by: MB Themes on November 20, 2019, 09:34:20 AM
@Olegs
So set there some fake values for rating if you think it's going to help you

You can google about it.
Title: Re: «offers», «review» или «aggregateRating».
Post by: Olegs on November 20, 2019, 10:07:20 AM
@Olegs
So set there some fake values for rating if you think it's going to help you

You can google about it.

If I found an answer on Google, then I did not ask you.

This is a problem for all users of the Veronica theme. not just for me. And if you provide a solution, that would be correct.

this problem appears because this code is present in the file item.php

 
Code: [Select]
<span itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="<?php echo osc_esc_html(osc_item_title()); ?>" />
      <meta itemprop="description" content="<?php echo osc_esc_html(osc_highlight(osc_item_description(), 500)); ?>" />
      <?php if(osc_count_item_resources() > 0) { ?><meta itemprop="image" content="<?php echo osc_resource_url(); ?>" /><?php ?>
    </span>

but it needs to be modified so that everything is displayed correctly in Google
Title: Re: «offers», «review» or «aggregateRating».
Post by: MB Themes on November 20, 2019, 04:42:27 PM
https://www.checkerboard.com/web-development/fix-offers-review-aggregaterating-specified/