FRAGMENTOS DE RESEÑAS

  • Posts: 83
  • Thank you received: 1
  • Hikashop Business
1 week 15 hours ago #315584

-- 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?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
1 week 9 hours ago #315590

Hi,

Thank you for your feedback.
Add the code:

if($row->hikashop_vote_nb_star < $row->hikashop_vote_average_score) {
	$row->hikashop_vote_average_score = $row->hikashop_vote_nb_star;
}
after the code:
$row->hikashop_vote_average_score = (float)hikashop_toFloat($row->hikashop_vote_average_score);
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.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
  • Hikashop Business
1 week 9 hours ago #315595

Hola Nicolás.
Si vuelvo a descargar e instalar hikashop quedará solucionado?

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
1 week 3 hours ago #315596

Hi,

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.

  • Posts: 83
  • Thank you received: 1
  • Hikashop Business
5 days 17 hours ago #315641

Hola Nicolás.
Google me lanza este ERROR: Falta el campo "ratingValue"
¿Cómo puedo solucionarlo?

Please Log in or Create an account to join the conversation.

  • Posts: 2412
  • Thank you received: 325
  • MODERATOR
5 days 5 hours ago #315651

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

Last edit: 5 days 13 hours ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
  • Hikashop Business
4 days 14 hours ago #315694

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.

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
4 days 6 hours ago #315703

Hi,

I see what is the problem.
It comes from the carousel display on your page.
Change the line:

<div class="hikashop_carousel_item <?php echo $borderClass; ?> hikashop_subcontainer" <?php echo $data; ?>>
to:
<div class="hikashop_carousel_item <?php echo $borderClass; ?> hikashop_subcontainer" <?php echo $data; ?> itemprop="itemList" itemscope="" itemtype="http://schema.org/ItemList">
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum