protected function getTotalReviewsProduct(array $product)
    {
        $options = array(
            'status' => 1,
            'count' => true,
            'user_status' => 1,
            'product_id' => $product['product_id']
        );

        return (int) $this->review->getList($options);
    }
protected function getTotalReviewsProduct(array $product)
    {
        $options = array(
            'status' => 1,
            'count' => true,
            'user_status' => 1,
            'product_id' => $product['product_id']
        );

        return (int) $this->review->getList($options);
    }
protected function getTotalReviewsProduct ( array $ product ) { $ options = array ( 'status' => 1 , 'count' => true , 'user_status' => 1 , 'product_id' => $ product [ 'product_id' ] ) ; return ( int ) $ this -> review -> getList ( $ options ) ; }
Returns a total number of reviews for the product
@param array $product
@return integer
Returns a total number of reviews for the product