#WITH_ERROR(#FormError)
#INCLUDE("INC-ListProduct-Simple")
#IF(#Shop.ShowProductRating AND #Shop.FeatureMaxValue.ProductRating)
#IF(#RatingSuccess)
{ThanksForRating}
#IF(NOT #Shop.ProductRatingImmediatelyVisible)
{RatingNotVisibleYet}#ENDIF
#ELSIF(#RatingExists)
{RatingAlreadyExists}
#ELSE
#IF(#Session.User.EMail)
#ENDIF
{ProductExperienceHeadline}
#IF(NOT #Shop.ProductRatingCustomerRequired OR (#Shop.ProductRatingCustomerRequired AND #Session.User AND NOT #Session.User.IsAnonymous))
{RatingInfo}
#IF(#FormError)
#IF(#FormError_EMail AND NOT #FormError_Name AND NOT #FormError_Comment AND NOT #FormError_Mark)
{Notification}:
{FormatNotEMail}
#ELSE
{Notification}:
{MandatoryNotice}
#ENDIF
#ENDIF
{MoreInfoHeadline}
{MoreInfo1}
{MoreInfo2}
{MandatoryFields}
#ENDIF
#ENDIF
#IF(#RatingAverage)
#IF(#RatingAverage) {ProductRatingCount}: #COUNT(#VisibleRatings)
{AverageRating}: #RatingAverage[float:1] #ENDIF
#LOOP(#VisibleRatings)
#INCLUDE("ProductRating-Indicator")
#Title (#CreationDate[date_tz])
#Comment[preline]
#ENDLOOP
#ENDIF
#ELSE
{ProductRatingNotAllowed}
#ENDIF
#ENDWITH_ERROR