When we were developing our own SEO-module, we faced a problem. Google Rich Snippets always shows that comment’s rating equals two. The thing is that templates /themes/default-bootstrap/modules/productcomments/productcomments-extra.tpl and /themes/default-bootstrap/modules/productcomments/productcomments_reviews.tpl have static parameter for ratingValue
Partner With Us
Let's discuss how to grow your business. Get a Free Quote.
Talk to Andrey
1 |
<meta itemprop="ratingValue" content = "2" /> |
To solve that problem you have to change that line in those two templates for the following: <meta itemprop=”ratingValue” content = “{$averageTotal}” />
Partner With Us
Looking for a partner to grow your business? We are the right company to bring your webstore to success.
Talk to Andrey
lordbdp,
I think it was just a misprint.
But if we make this change, it will display the actual value of the notation. Off if there has not yet been scoring one must give it a value = 2?
Where then I did not understand the purpose of this code…