{if $SHOPREVIEWS_ALL_AVERAGE > 0 && $SHOPREVIEWS_ALL > 0}
<script type="application/ld+json">
  {
    "@context": "https://schema.org/",
    "@type": "Organization",
    "name": "{$SNIPPING_TYPE_NAME}",
    
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": "{$SHOPREVIEWS_ALL_AVERAGE}",
      "bestRating": "5",
      "worstRating": "1",
      "ratingCount": "{$SHOPREVIEWS_ALL}"
    }
  }
</script>
{/if}