#IF(#Shop.ShowProductRating AND #Shop.FeatureMaxValue.ProductRating AND #RatingAverage)
#LOCAL("VisibleRatingsCount", #COUNT(#VisibleRatings))
{ProductRatingsByCustomers}
#IF(#RatingAverage) {ProductRatingCount}: #VisibleRatingsCount
{AverageRating}: #RatingAverage[float:1]
#ENDIF
#IF(#VisibleRatingsCount > 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")
#IF(#Rating)
#ENDIF
#Title
#IF(#ShowName AND #Name)
{from} #NameOrAlias {on} #CreationDate[date_tz]
#ELSE
{from} {AnonymousUser} {on} #CreationDate[date_tz]
#ENDIF
#Comment[preline]
#ENDLOOP
#IF(#VisibleRatingsCount > 3)