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

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

#ENDIF #ENDLOOP #ENDLOCAL #ENDLOCAL
#LOCAL("MessageSent", 0) #IF (#FormErrors.Form.ProductInquiry.Reason.SentMessage OR #FormErrors.Form.ProductInquiry.Reason.SentMessageWithCopy) #SET("MessageSent", 1) #ENDIF #IF(#MessageSent NEQ 0)

{SendProductInquiry}

{ProductInquiryInfo}

#INCLUDE("INC-ListProduct-Simple")
#ENDIF
#IF(#FormError AND #FormErrors.Form.ProductInquiry.ErrorCount) #LOOP(#FormErrors.Reasons) #IF (#Reason EQ "SentMessage" OR #Reason EQ "SentMessageWithCopy")

{InquirySent}#IF(#Reason EQ "SentMessageWithCopy") {InquirySentCopyInfo}#ENDIF


#ELSE
#IF (#Reason EQ "NotAllowed")

{Notification}

{InquiriesNotAllowed}

#ELSIF(#Reason EQ "FORMAT_NOT_EMAILADDRESS")

{Notification}

{FormatNotEMail}

#ELSIF(#Reason EQ "SendMailFailed")

{Notification}

{SEND_MAIL_FAILED}

#ELSE

{PleaseCorrectErrors}

#ENDIF

#ENDIF #ENDLOOP #ENDIF #IF(#MessageSent NEQ 0)
{YourQuestion}
{Name}
#IF(#CustomerName) #CustomerName #ELSE #ENDIF
#IF(NOT #Shop.InquiriesHidePhoneNo)
{Phone}
{PhoneInfo}
#ENDIF
{Email}#IF(NOT #CustomerEMail) {MandatoryStar}#ENDIF
#IF(#CustomerEMail) #CustomerEMail #ELSE #ENDIF
{Question} {MandatoryStar}
#IF(#Session.User AND NOT #Session.User.IsAnonymous)
#ENDIF

{PrivacyPolicy}: {PrivacyPolicyInfo}
#ENDIF
#ENDLOCAL