From f592b81f70185fd80d696f427f6c113be92b28c3 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Thu, 2 Feb 2023 13:07:04 +0100 Subject: [PATCH] add rating count to json+ld --- prod.php | 1 + 1 file changed, 1 insertion(+) diff --git a/prod.php b/prod.php index 9462d1f..bc9e43e 100644 --- a/prod.php +++ b/prod.php @@ -1069,6 +1069,7 @@ function RenderBody() { $linkedData["aggregateRating"] = array( "@type" => "AggregateRating", "ratingValue" => $main->prod->voteavg, + "ratingCount" => $main->prod->voteup + $main->prod->votedown + $this->prod->votepig, "bestRating" => 1, "worstRating" => -1 );