Kundendaten
{% if GetGlobal("ValidateInvoiceAddressCompanyName") == true %}
{# b2b shop #}
{% else %}
{# not b2b #}
Rechnungsanschrift
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, ";
}
%}
{% 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";
}
%}
{% 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";
}
%}
{# inject country select field with optional stats select field. #}
{% SetGlobal("ShippingCountriesListConfig", "registration;" . $_customer->CountryID . ";" . $_customer->StateID); %}
{% Container_CheckoutShippingCountriesList() %}
{%
{# 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 #}