#LOCAL("ProductID",#ID) #LOCAL("ProductName",#NameOrAlias) #LOOP(#Categories) #IF(#ItemNo == 0)

#LOOP(#PathFromSite)#NameOrAlias #ENDLOOP#ProductName {Ratings}

#ENDIF #ENDLOOP #ENDLOCAL #ENDLOCAL

{ProductRatingsByCustomers}

#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
{Name}#IF(NOT #Session.User) {MandatoryStar}#ENDIF
({NotPublished})
 
{EMail}#IF(NOT #Session.User) {MandatoryStar}#ENDIF
({NotPublished})

 
{HowDoYouRateThisProduct} {MandatoryStar}
 
{DetailedProductComment}
 
{CommentIndicator}

{MoreInfoHeadline}
{MoreInfo1}
{MoreInfo2}
{MandatoryFields}
#ENDIF #ENDIF #IF(#RatingAverage)
#IF(#RatingAverage) {ProductRatingCount}: #COUNT(#VisibleRatings)
{AverageRating}: #RatingAverage[float:2] #ENDIF
#LOOP(#VisibleRatings)
#INCLUDE("ProductRating-Indicator") #Title (#CreationDate[date_tz])
#Comment[preline]
#ENDLOOP #ENDIF #ELSE

{ProductRatingNotAllowed}

#ENDIF
#ENDWITH_ERROR