#IF(#Shop.ShowProductRating AND #Shop.FeatureMaxValue.ProductRating AND #RatingAverage)

{ProductRatingsByCustomers}

#IF(#RatingAverage) {ProductRatingCount}: #COUNT(#VisibleRatings)
{AverageRating}: #RatingAverage[float:1] #ENDIF
#IF(#COUNT(#VisibleRatings) > 3) {ReadAllRatings}
#ENDIF #IF(#Shop.ProductRatingCustomerRequired) #IF(#Session.User AND NOT #Session.User.IsAnonymous)
#ELSE
#ENDIF #ELSE
#ENDIF
#LOOP(#VisibleRatings, 0, 2)
#INCLUDE("ProductRating-Indicator") #Title (#CreationDate[date_tz])
#Comment[preline]
#ENDLOOP
#IF(#COUNT(#VisibleRatings) > 3) {ReadAllRatings}
#ENDIF #ENDIF