Example #1
0
 /**
  * Get product reviews summary
  *
  * @param \Magento\Catalog\Model\Product $product
  * @param bool $templateType
  * @param bool $displayIfNoReviews
  * @return string
  */
 public function getReviewsSummaryHtml($product, $templateType, $displayIfNoReviews)
 {
     return $this->reviewRenderer->getReviewsSummaryHtml($product, $templateType, $displayIfNoReviews);
 }
 /**
  * Get product reviews summary
  *
  * @param \Magento\Catalog\Model\Product $product
  * @param bool $templateType
  * @param bool $displayIfNoReviews
  * @return string
  */
 public function getReviewsSummaryHtml(\Magento\Catalog\Model\Product $product, $templateType = false, $displayIfNoReviews = false)
 {
     return $this->reviewRenderer->getReviewsSummaryHtml($product, $templateType, $displayIfNoReviews);
 }