►{NonMemberQuestion}

#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 )

{InputError}

#IF(#FormErrors.Reason.NO_USER_NAME)

{NO_USER_NAME}

#ENDIF #IF(#FormErrors.Reason.LOGIN_EXISTS)

{LOGIN_EXISTS}

#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}

#ELSE #IF(#FormErrors.Reason.STRING_EMPTY)

{FillOutForm}

{MandatoryFields}
#ENDIF #ENDIF #ENDIF #ENDIF
#SNIPPET("SNIPPET-Address","AddressType,NamePrefix,Localize,Fields","ShippingAndBillingAddress",#NamePrefix,#INPUT.Language[UC],"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")

{ShippingAddress}

#IF(#ShippingAddress.ID) #ELSE #ENDIF
#SNIPPET("SNIPPET-Address","AddressType,NamePrefix,Localize,Fields","ShippingAddress","Shipping",#INPUT.Language[UC],"Additional AddressExtension BankAccountHolder BankAccountNo BankCode BankName BankSeparator Birthday City CodePorte Company CountryID Department DisplayName EMail EMailBusiness EMailPrivate Fax FirstName Gender JobTitle LastName MiddleName Phone PhoneBusiness PhoneCell PhonePrivate Salutation State Street Street2 Title URL VATID Zipcode")
#LOCAL("ShopRegistrationField", #Shop.RegistrationField) #WITH_ERROR(#FormError) #MENU("AddressFormExternal") #INCLUDE(#Template) #ENDMENU #ENDWITH_ERROR #ENDLOCAL #IF(#Shop.AcceptPrivacyPolicy)

#ENDIF