<div class="reviews-count">

   <a href="#reviews" data-scroll-to="#reviews">
      {$product_reviews.rating_count}
         {t plural="hodnocení" plural5="hodnocení" count=$product_reviews.rating_count}hodnocení{/t}
   <div class="review-stars rating-{$product_reviews.rating|round}" title="{t}Průměrné hodnocení:{/t} {$product_reviews.rating|round:1}">
      {for $i=1 to 5}
         <span class="fc icons_star{if $i > $product_reviews.rating|round}-empty{/if}"></span>
      {/for}
   </div></a>
</div>
{if !$hideScript}
   {* @formatter:off *}
   <script type="application/ld+json">
      {
        "@context": "http://schema.org/",
        "@type": "Product",
        "name": "{$body.product.title}",
        "aggregateRating": {
          "@type": "AggregateRating",
          "ratingValue": "{$product_reviews.rating|round:1}",
          "ratingCount": "{$product_reviews.rating_count}"
        }
      }
   </script>
   {* @formatter:on *}
{/if}

