you can use also SKU and MPN code, but as they could be different from store to store, multi collect rating is not available.
and you only get what your users rate
Integrate the iframe into your merchant site in a few clicks and find ratings in your users langage.
Each user can only rate a product once. This note is stored on the ScutiChain irretrievably.
<iframe width="100%" height="60px" style="border:none;" src="https://scutistar.com/search?item=3760377760446&label=true&font-size=10&size=xs&background=f5f5f5&color=130577&lang=en&star=ec0be9"</iframe>
<item="3760377760378" size="xs">
<iframe width="100%" height="50px" style="border:none;" src="https://scutistar.com/search?item=3760377760156&label=true&font-size=10&size=xxs&background=f5f5f5&lang=fr"</iframe>
<item="3760377760156" size="xxs" label="true">
<iframe width="100%" height="50px" style="border:none;" src="https://scutistar.com/search?item=3760377760309&size=xxxs&background=f5f5f5&lang=en"</iframe>
<item="3760377760309" size="xxxs">
make a http call with GTIN as parameter
<https://scutistar.com/ratekit/api/rating?item=3760377760415>
and get reply
{"item":"3760377760415","status":"success","overall_rating":"4.5","count":"6","author":"scutistar.com"}
$schema_json = [
'@context' => 'http://schema.org/',
'@type' => 'Product',
'productID' => $product->id,
'sku' => $product->sku,
'gtin' => $product->gtin,
'mpn' => $product->mpn,
'name' => $product->name,
'image' => $product->image,
'description' => $product->description),
'offers' => [
'@type' => 'Offer',
'priceCurrency' => $currency,
'price' => $product->final_price,
'priceValidUntil' => $product->date_valid_to,
'itemCondition' => 'https://schema.org/NewCondition',
'availability' => ($product->quantity > 0) ? 'https://schema.org/InStock' : 'https://schema.org/OutOfStock',
'url' => $product->link,
],
'review' => [
'@type' => 'Review',
'aggregateRating' => [
'@type' => 'AggregateRating',
'ratingValue' => $ratingValue,
'ratingCount' => $ratingCount,
],
'author' => [
'@type' => 'Organization',
'name' => $ratingAuthor,
],
],
];
'item' => $product->gtin
'https://scutistar.com/ratekit/api/rating.php?'.$getdata;
$ratingValue = $response->overall_rating;
$ratingCount = $response->count;
$ratingAuthor = $response->author;
$ratingValue,
$ratingCount,
$ratingAuthor,