- Posts: 460
- Thank you received: 19
FRAGMENTOS DE RESEÑAS
- Reincidente
-
Topic Author
- Offline
Less
More
6 years 7 months ago #315584
by Reincidente
FRAGMENTOS DE RESEÑAS was created by Reincidente
-- url of the page with the problem -- :
www.hermanosgaliano.es
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15
Hola, buenos días.
He recibido de GOOGLE SEARCH CONSOLE el siguiente aviso.
Estado Tipo Validación Tendencia Elementos
Error A la puntuación le faltan los valores máximo o mínimo
Error Se debe especificar "ratingCount" o "reviewCount"
Error Falta el campo "ratingValue"
UNA DE LAS URLS AFECTADAS ES
www.hermanosgaliano.es/comprar/bandejas-...adas-para-pasteleria .
Y aparece este código destacado.
<div itemprop="aggregateRating" itemscope itemtype=" schema.org/AggregateRating ">
<span itemprop="ratingValue">5.00001</span>
<span itemprop="bestRating">5</span>
<span itemprop="ratingCount">6</span>
<span itemprop="itemReviewed">Product</span>
</div>
¿Qué puedo hacer?
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15
Hola, buenos días.
He recibido de GOOGLE SEARCH CONSOLE el siguiente aviso.
Estado Tipo Validación Tendencia Elementos
Error A la puntuación le faltan los valores máximo o mínimo
Error Se debe especificar "ratingCount" o "reviewCount"
Error Falta el campo "ratingValue"
UNA DE LAS URLS AFECTADAS ES
www.hermanosgaliano.es/comprar/bandejas-...adas-para-pasteleria .
Y aparece este código destacado.
<div itemprop="aggregateRating" itemscope itemtype=" schema.org/AggregateRating ">
<span itemprop="ratingValue">5.00001</span>
<span itemprop="bestRating">5</span>
<span itemprop="ratingCount">6</span>
<span itemprop="itemReviewed">Product</span>
</div>
¿Qué puedo hacer?
Please Log in or Create an account to join the conversation.
6 years 7 months ago #315590
by nicolas
Replied by nicolas on topic FRAGMENTOS DE RESEÑAS
Hi,
Thank you for your feedback.
Add the code:
after the code:
in the file components/com_hikashop/views/vote/tmpl/mini.php and that will fix the problem.
we'll add that patch on our end too.
Thank you for your feedback.
Add the code:
Code:
if($row->hikashop_vote_nb_star < $row->hikashop_vote_average_score) {
$row->hikashop_vote_average_score = $row->hikashop_vote_nb_star;
}
Code:
$row->hikashop_vote_average_score = (float)hikashop_toFloat($row->hikashop_vote_average_score);
we'll add that patch on our end too.
Please Log in or Create an account to join the conversation.
- Reincidente
-
Topic Author
- Offline
Less
More
- Posts: 460
- Thank you received: 19
6 years 7 months ago #315595
by Reincidente
Replied by Reincidente on topic FRAGMENTOS DE RESEÑAS
Hola Nicolás.
Si vuelvo a descargar e instalar hikashop quedará solucionado?
Si vuelvo a descargar e instalar hikashop quedará solucionado?
Please Log in or Create an account to join the conversation.
6 years 7 months ago #315596
by nicolas
Replied by nicolas on topic FRAGMENTOS DE RESEÑAS
Hi,
Yes, you can download and install the install package. I've added the patch there too.
Yes, you can download and install the install package. I've added the patch there too.
Please Log in or Create an account to join the conversation.
- Reincidente
-
Topic Author
- Offline
Less
More
- Posts: 460
- Thank you received: 19
6 years 7 months ago #315641
by Reincidente
Replied by Reincidente on topic FRAGMENTOS DE RESEÑAS
Hola Nicolás.
Google me lanza este ERROR: Falta el campo "ratingValue"
¿Cómo puedo solucionarlo?
Google me lanza este ERROR: Falta el campo "ratingValue"
¿Cómo puedo solucionarlo?
Please Log in or Create an account to join the conversation.
6 years 7 months ago - 6 years 7 months ago #315651
by Philip
Replied by Philip on topic FRAGMENTOS DE RESEÑAS
Hello,
On our side we are unable to reproduce your error around the "itemListElement", and so can you process a test with a default template like ProtoStar by example to see if that resolve your issue ?
Awaiting news from you to move forward on your subject.
Regards
On our side we are unable to reproduce your error around the "itemListElement", and so can you process a test with a default template like ProtoStar by example to see if that resolve your issue ?
Awaiting news from you to move forward on your subject.
Regards
Last edit: 6 years 7 months ago by Philip.
Please Log in or Create an account to join the conversation.
- Reincidente
-
Topic Author
- Offline
Less
More
- Posts: 460
- Thank you received: 19
6 years 7 months ago #315694
by Reincidente
Replied by Reincidente on topic FRAGMENTOS DE RESEÑAS
Hola Nicolás.
El problema está en que cuando un artículo no tiene votos Google lo considera un error.
¿No sería mejor introducir una línea de código que diga que si no tiene votaciones no lo tome en cuenta?
¿Sería posible por vuestra parte?
Muchas gracias.
Un saludo.
El problema está en que cuando un artículo no tiene votos Google lo considera un error.
¿No sería mejor introducir una línea de código que diga que si no tiene votaciones no lo tome en cuenta?
¿Sería posible por vuestra parte?
Muchas gracias.
Un saludo.
Please Log in or Create an account to join the conversation.
6 years 7 months ago #315703
by nicolas
Replied by nicolas on topic FRAGMENTOS DE RESEÑAS
Hi,
I see what is the problem.
It comes from the carousel display on your page.
Change the line:
to:
in the file components/com_hikashop/views/product/tmpl/carousel.php and that will fix the problem.
we'll add that patch on our end too.
I see what is the problem.
It comes from the carousel display on your page.
Change the line:
Code:
<div class="hikashop_carousel_item <?php echo $borderClass; ?> hikashop_subcontainer" <?php echo $data; ?>>
Code:
<div class="hikashop_carousel_item <?php echo $borderClass; ?> hikashop_subcontainer" <?php echo $data; ?> itemprop="itemList" itemscope="" itemtype="http://schema.org/ItemList">
we'll add that patch on our end too.
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds