#IF(#MainCategory) #LOOP(#MainCategory.PathFromSite) #ENDLOOP #ENDIF {Ratings}

{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} #ELSIF(#FormError_Recaptcha) {Notification}:
{CaptchaFailure} #ELSE {Notification}:
{MandatoryNotice} #ENDIF
#ENDIF
{PersonalName}
#IF(NOT (NOT #Session.User.IsAnonymous AND #Session.User)) {IsPublished} #ELSE
{ShowNameMessage}
#ENDIF
 
{EMail}#IF(NOT #Session.User OR #Session.User.IsAnonymous) {MandatoryStar}#ENDIF
{NotPublished}

{Mark} {MandatoryStar}
{AwardPoints}
 
{HowDoYouRateThisProduct} {MandatoryStar}
 
{DetailedProductComment}
 
{CommentIndicator}
#SNIPPET("INC-GoogleReCaptcha")

{MoreInfoHeadline}
{MoreInfo1}
{MoreInfo2} {MoreInfo3} #LOCAL("PrivacyPolicyPage", #Shop.PrivacyPolicy) #IF(#DEFINED(#PrivacyPolicyPage)) {PrivacyPolicyHint} {PrivacyPolicy}. #ENDIF #ENDLOCAL
{MandatoryFields}
#ENDIF #ENDIF #IF(#RatingAverage)
#IF(#RatingAverage) {ProductRatingCount}: #COUNT(#VisibleRatings)
{AverageRating}: #RatingAverage[float:1] #ENDIF
#LOOP(#VisibleRatings)
#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 #ENDIF #ELSE

{ProductRatingNotAllowed}

#ENDIF
#ENDWITH_ERROR