Support Forums - Classified Ads Script Osclass
Osclass theme support => Veronika Osclass Responsive Theme => Topic started 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
-
@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?
-
@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
-
@Olegs
So set there some fake values for rating if you think it's going to help you
-
@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 ?
-
@Olegs
So set there some fake values for rating if you think it's going to help you
You can google about it.
-
@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
<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
-
https://www.checkerboard.com/web-development/fix-offers-review-aggregaterating-specified/