#IF(#Shop.BillingAddressSetVisibleFields EQ "" AND #Shop.ShippingAddressSetVisibleFields EQ "")
{ConfigurationError}
{NoAddressFieldsVisible}
#ELSE
#IF(#FormErrors.Reason.IsShippingAddressMandatory OR #FormErrors.Reason.IsBillingAddressMandatory)
{InputError}
#IF(#FormErrors.Reason.FORMAT_NOT_INTEGER OR #FormErrors.Reason.FORMAT_NOT_FLOAT){WRONG_NUMBER_FORMAT}
#ENDIF
{PleaseCorrectErrors}
#ENDIF
#IF(#FormError AND NOT(#FormErrors.Form.Login.ErrorCount))
#IF(#FormErrors.Reason.NO_USER_NAME OR #FormErrors.Reason.LOGIN_EXISTS OR #FormErrors.Reason.NO_USER_PWD
OR #FormErrors.Reason.PWD_NOT_SAME OR #FormErrors.Reason.PASSWORD_WRONG OR #FormErrors.Reason.FORMAT_NOT_INTEGER
OR #FormErrors.Reason.FORMAT_NOT_FLOAT OR #FormError_AcceptPrivacyPolicy
OR #FormErrors.Reason.FORMAT_NOT_EMAILADDRESS OR #FormErrors.Reason.VATIDIsNotFromSameCountry OR #FormErrors.Reason.VATIDIsNotValid
OR #FormErrors.Reason.ZIPCODE_NOT_VALID)
#IF(#FormErrors.Reason.LOGIN_EXISTS)
{LOGIN_EXISTS}
{LoginToContinueOrder}
{MemberQuestion}
#ELSE
{InputError}
#IF(#FormErrors.Reason.NO_USER_NAME)
{NO_USER_NAME}
#ENDIF
#IF(#FormErrors.Reason.NO_USER_PWD)
{NoPassword}
#ENDIF
#IF(#FormErrors.Reason.PWD_NOT_SAME)
{PWD_NOT_SAME}
#ENDIF
#IF(#FormErrors.Reason.PASSWORD_WRONG)
{WrongPassword}
#ENDIF
#IF(#FormErrors.Reason.VATIDIsNotFromSameCountry)
{VATIDIsNotFromSameCountry}
#ENDIF
#IF(#FormErrors.Reason.VATIDIsNotValid)
{VATIDIsNotValid}
#ENDIF
#IF(#FormErrors.Reason.FORMAT_NOT_INTEGER OR #FormErrors.Reason.FORMAT_NOT_FLOAT)
{WRONG_NUMBER_FORMAT}
#ENDIF
#IF(#FormError_AcceptPrivacyPolicy)
{ErrorAcceptPrivacyPolicy}
#ENDIF
#IF(#FormErrors.Reason.FORMAT_NOT_EMAILADDRESS)
{FormatNotEMail}
#ENDIF
#IF(#FormErrors.Reason.ZIPCODE_NOT_VALID)
{ZipcodeNotValid}
#ENDIF
{PleaseCorrectErrors}
#ENDIF
#ELSE
#IF(#FormErrors.Reason.STRING_EMPTY)
{FillOutForm}
{MandatoryFields}
#ENDIF
#ENDIF
#ENDIF
#ENDIF
#SNIPPET("SNIPPET-Address","AddressType,NamePrefix,Fields","ShippingAndBillingAddress",#NamePrefix,"Additional AddressExtension BankAccountHolder BankAccountNo BankCode BankName BankSeparator Birthday City CodePorte Company CountryID Department DisplayName EMail EMailBusiness EMailPrivate Fax FirstName Gender JobTitle LastName Mandatory MiddleName Phone PhoneBusiness PhoneCell PhonePrivate Salutation State Street Street2 Title URL VATID Zipcode")
#LOCAL("ShopRegistrationField", #Shop.RegistrationField)
#WITH_ERROR(#FormError)
#IF(#Shop.ShippingAddressSetVisibleFields)
#IF(NOT #ShippingAddress.ID)
{SeparateShippingAddress}
#ELSE
{ShippingAddress}
#ENDIF
#LOCAL("NamePrefix", "Shipping")#LOCAL("AddressType", "ShippingAddress")#LocaleInclude("INC-AddressForm", #INPUT.Language[UC])#ENDLOCAL#ENDLOCAL