Gerardo Martinez G Posted February 19, 2020 Share Posted February 19, 2020 en el modulo de productcomments el archivo product-additional-info.tpl al final elimine. {* Rich snippet rating*} <div itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating" itemscope> <meta itemprop="reviewCount" content="{$nb_comments}" /> <meta itemprop="ratingValue" content="{$average_grade}" /> </div> para poner. <script type="application/ld+json"> { "review": { "@type": "Review", "reviewRating": { "@type": "Rating", "ratingValue": "{$average_grade}", "bestRating": "{$xxxxxxx}" }, "author": { "@type": "Person", "name": "{$xxxxxxx}" } }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "{$average_grade}", "reviewCount": "{$nb_comments}" }, } </script> todo ha funcionado a la perfeccion, google console ya lo autoriza, aunque me faltan estas dos variables por encontrar en productcomments "bestRating": "{$xxxxxxx}" "name": "{$xxxxxxx}" encontrar para la mejor valoracion y el nombre para poner el que escribio esa mejor valoracion.. Gracias por la atencion Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now