Comments david started the conversationDecember 25, 2017 at 11:09amDear Team,The below concerns an URL I'm running test through https://www.seijna.adgency360.com/boutique/delicate-lace/bague-montefiore-or-18k-grand-modele/I've enabled review thru woocommerce setting in order to gain "rich snippet" style at Google search resultsI then went to check the URL of Google rich snippet testing tool @ https://search.google.com/structured-data/testing-tool/u/0/?hl=en#url=https%3A%2F%2Fwww.seijna.adgency360.com%2Fboutique%2Fdelicate-lace%2Fbague-montefiore-or-18k-grand-modele%2FUnder the "Aggregate Rating" section, I noticed an error in the output of the test seen here below The error reported is "The review has no reviewed item specified." referring to the code that outputs the below:david repliedDecember 25, 2017 at 12:15pmI realise end of my ticket was truncated (probably cause of size limit)I intended to finish my ticket with:On forum (such as this one) , the issue i face could be sort out by adding the below chunk of code to the rich snippet Instead of <div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating">having "itemReviewed" adjusted with my product name <div itemscope itemtype="http://schema.org/AggregateRating"> <span itemprop="ratingValue">5</span> stars - based on <span itemprop="reviewCount">21</span> reviews <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product"> <!-- Product properties --> </div> </div> I'd appreciate if you could confirm the relevant .php file to correct the codeThank you in advance and Merry Christmas to all Arrow team!David[deleted] repliedDecember 26, 2017 at 7:56amDear,You can see code at themes\gelli\woocommerce\single-product\rating.phpThank you! Sign in to reply ...
Dear Team,
The below concerns an URL I'm running test through https://www.seijna.adgency360.com/boutique/delicate-lace/bague-montefiore-or-18k-grand-modele/
I've enabled review thru woocommerce setting in order to gain "rich snippet" style at Google search results
I then went to check the URL of Google rich snippet testing tool @ https://search.google.com/structured-data/testing-tool/u/0/?hl=en#url=https%3A%2F%2Fwww.seijna.adgency360.com%2Fboutique%2Fdelicate-lace%2Fbague-montefiore-or-18k-grand-modele%2F
Under the "Aggregate Rating" section, I noticed an error in the output of the test seen here below
I realise end of my ticket was truncated (probably cause of size limit)
I intended to finish my ticket with:
On forum (such as this one) , the issue i face could be sort out by adding the below chunk of code to the rich snippet
Instead of
having "itemReviewed" adjusted with my product name
I'd appreciate if you could confirm the relevant .php file to correct the code
Thank you in advance and Merry Christmas to all Arrow team!
David
Dear,
You can see code at themes\gelli\woocommerce\single-product\rating.php
Thank you!