Registrierung
{# display HouseNo input before Street input #}
{% $_HouseNoFirst = false %}
{# get default country id (required for showing mandatory fields depending on country) #}
{%
$_defaultCountryId = "";
for ( $_country in GetCheckoutShippingCountriesList() )
{
if ( $_defaultCountryId == "" )
{
$_defaultCountryId = $_country->ShippingCountryID;
}
}
%}
{% $_customer = GetCheckoutCustomerInvoiceAddress() %}
{%
{# check for user-selected settings (e.g. after refresh while registering as guest) making optional fields mandatory #}
$_additionalFieldsVisible = false;
if (
( $_customer->FormOfAddressID == 2 && GetGlobal("ValidateInvoiceAddressVatIfCompany") == true )
|| ( GetGlobal("ValidateInvoiceAddressFaxNumber") == true || ( GetGlobal("ValidateInvoiceAddressFaxNumberIfForeignCustomer") == true && $StoreCountryID != $_defaultCountryId ) )
|| ( GetGlobal("ValidateInvoiceAddressMobileNumber") == true || ( GetGlobal("ValidateInvoiceAddressMobileNumberIfForeignCustomer") == true && $StoreCountryID != $_defaultCountryId ) )
|| ( GetGlobal("ValidateInvoiceAddressCompanyName") == true && GetGlobal("ValidateInvoiceAddressBirthDate") == true )
|| $_customer->FaxNumber != ""
|| $_customer->MobileNumber != ""
|| $_customer->Postnummer != ""
|| ( GetGlobal("ValidateInvoiceAddressCompanyName") == false && $_customer->VATNumber != "" )
|| ( GetGlobal("ValidateInvoiceAddressCompanyName") == true && ( $_customer->BirthDay != "" || $_customer->BirthMonth != "" || $_customer->BirthYear != "" ) )
)
{
$_additionalFieldsVisible = true;
}
%}
{% if GetSystemSetting('checkout.dhl.allow_postident') == 1 %}
{% endif %}
{% if GetGlobal("ValidateInvoiceAddressCompanyName") == false %}
{# b2b shop #}
{% else %}
{# not b2b #}
{% endif %}
{# customer properties #}
{%
$_propertiesAvailable = false;
for ( $_check in GetCheckoutCustomerPropertiesList() ) {
$_propertiesAvailable = true;
$LoopBreak[1];
}
%}
{# only show if customer properties #}
{% if $_propertiesAvailable %}
{# show CustomerProperty #}
{% endif %}
Rechnungsdaten
Kundendaten
E-Mail-Adresse
E-Mail-Adresse wiederholen
Passwort
Passwort wiederholen
{% if GetGlobal("ValidateInvoiceAddressCompanyName") == true %}
{# b2b shop #}
{% else %}
{# not b2b #}
{% endif %}
USt-IdNr.
Geburtsdatum (Tag)
Geburtsdatum (Monat)
Geburtsdatum (Jahr)
Telefon
Rechnungsanschrift
Anrede
Herr
FormOfAddressID == 1 %} selected{% endif %}>Frau
FormOfAddressID == 2 %} selected{% endif %}>Firma
FormOfAddressID == 3 %} selected{% endif %}>Familie
Firma
FormOfAddressID == 0 || $_customer->FormOfAddressID == 1 ) && GetGlobal("ValidateInvoiceAddressFirstName") == true )
|| ( $_customer->FormOfAddressID == 2 && GetGlobal("ValidateInvoiceAddressFirstNameIfCompany") == true )
|| ( $_customer->FormOfAddressID == 3 && GetGlobal("ValidateInvoiceAddressFirstNameIfFamily") == true )
) %} data-plenty-validate="text"{% endif %}>
Vorname
FormOfAddressID != 2 && GetGlobal("ValidateInvoiceAddressLastName") == true )
|| ( $_customer->FormOfAddressID == 2 && GetGlobal("ValidateInvoiceAddressLastNameIfCompany") == true )
) %} data-plenty-validate="text"{% endif %}>
Nachname
Adresszusatz
{% if $_HouseNoFirst %}
{%
$_validate = false;
$_validationString = "";
if ( GetGlobal("ValidateInvoiceAddressHouseNumber") == true )
{
$_validate = true;
$_validationString .= "text";
}
else
{
$_validationString .= "none";
}
if ( GetGlobal("ValidateInvoiceAddressStreet") == true )
{
$_validate = true;
$_validationString .= "text, ";
}
else
{
$_validationString .= "none, ";
}
%}
Hausnr.Straße
{% else %}
{%
$_validate = false;
$_validationString = "";
if ( GetGlobal("ValidateInvoiceAddressStreet") == true )
{
$_validate = true;
$_validationString .= "text, ";
}
else
{
$_validationString .= "none, ";
}
if ( GetGlobal("ValidateInvoiceAddressHouseNumber") == true )
{
$_validate = true;
$_validationString .= "text";
}
else
{
$_validationString .= "none";
}
%}
StraßeHausnr.
{% endif %}
{%
$_validate = false;
$_validationString = "";
if ( GetGlobal("ValidateInvoiceAddressZip") == true )
{
$_validate = true;
$_validationString .= "text, ";
}
else
{
$_validationString .= "none, ";
}
if ( GetGlobal("ValidateInvoiceAddressCity") == true )
{
$_validate = true;
$_validationString .= "text";
}
else
{
$_validationString .= "none";
}
%}
PLZOrt
{# inject country select field with optional stats select field. #}
{% SetGlobal("ShippingCountriesListConfig", "registration;" . $_customer->CountryID . ";" . $_customer->StateID); %}
{% Container_CheckoutShippingCountriesList() %}
Fax
Mobile
Postnummer
FormOfAddressID == 2 && GetGlobal("ValidateInvoiceAddressVatIfCompany") == true %} data-plenty-validate="text"{% endif %}>
USt-IdNr.
Geburtsdatum (Tag)
Geburtsdatum (Monat)
Geburtsdatum (Jahr)
{% if $Lang=="de" %}Kundenumfrage{% else %}Customer survey{% endif %}
{% for $_customerProperty in GetCheckoutCustomerPropertiesList() %}
{% endfor %}
PropertyIsMandatory ) %} data-plenty-validate="text"{% endif %}>
$_customerProperty->PropertyName
{# select type #}
{% if ( $_customerProperty->PropertyType == 'select' ) %}
{% for $_customerPropertyValue in GetCheckoutCustomerPropertyValuesList($_customerProperty->PropertyID) %}
$_customerPropertyValue->PropertyValueName
{% endfor %}
{% elseif ( $_customerProperty->PropertyType == 'number' ) %}
{% elseif ( $_customerProperty->PropertyType == 'customerType' ) %}
{% elseif ( $_customerProperty->PropertyType == 'date' ) %}
{% elseif ( $_customerProperty->PropertyType == 'longText' ) %}
$_customerProperty->PropertyValue
{% else %}
{% GetCheckoutCustomerPropertiesInput($_customerProperty->PropertyID, '') %}
{% endif %}
Registrierung abschließen
Keine Produkte gefunden.