<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/System/SystemConfig/Schema/config.xsd">
    <card>
        <title>Log-in / sign-up</title>
        <title lang="de-DE">Anmeldung / Registrierung</title>

        <input-field type="int">
            <name>passwordMinLength</name>
            <label>Minimum password length on customer sign-up</label>
            <label lang="de-DE">Passwort-Mindestlänge für Kunden-Registrierung</label>
        </input-field>

        <input-field type="bool">
            <name>createCustomerAccountDefault</name>
            <label>Create customer account by default</label>
            <label lang="de-DE">Standardmäßig ein Kundenkonto anlegen</label>
            <helpText>If this setting is inactive, no customer account is created on the checkout page. The user then makes a purchase as a guest in the default setting.</helpText>
            <helpText lang="de-DE">Wenn diese Einstellung inaktiv ist, wird auf der Checkoutseite kein Kundenkonto erstellt. Der Nutzer kauft dann im Standard als Gast ein.</helpText>
        </input-field>

        <input-field type="bool">
            <name>customerIpAddressesNotAnonymously</name>
            <label>Save customer IP addresses as plain text</label>
            <label lang="de-DE">Kunden-IP-Adressen als Klartext speichern</label>
        </input-field>

        <input-field type="bool">
            <name>showSalutation</name>
            <label>Show salutation</label>
            <label lang="de-DE">Anrede anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>showTitleField</name>
            <label>Show title</label>
            <label lang="de-DE">Titel anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>requireEmailConfirmation</name>
            <label>Email address must be entered twice</label>
            <label lang="de-DE">E-Mail-Adresse muss zweimal eingegeben werden</label>
            <helpText>Email address has to be filled in twice to avoid errors.</helpText>
            <helpText lang="de-DE">Die E-Mail-Adresse wird zweimal abgefragt, um Fehler bei der Eingabe zu vermeiden.</helpText>
            <hint>global.accessibility.optionWarning</hint>
        </input-field>

        <input-field type="bool">
            <name>doubleOptInRegistration</name>
            <label>Double opt-in on sign-up</label>
            <label lang="de-DE">Double-Opt-In für Registrierungen</label>
            <helpText>Double opt-in for new customers.</helpText>
            <helpText lang="de-DE">Aktiviert Double-Opt-In bei der Neukunden-Registrierung.</helpText>
        </input-field>

        <input-field type="bool">
            <name>doubleOptInGuestOrder</name>
            <label>Double opt-in on guest orders</label>
            <label lang="de-DE">Double-Opt-In bei Gast-Bestellungen</label>
            <helpText>Activates double opt-in for guest orders.</helpText>
            <helpText lang="de-DE">Aktiviert Double-Opt-In für Gast-Bestellungen.</helpText>
        </input-field>

        <input-field type="text">
            <name>confirmationUrl</name>
            <label>Confirmation URL for double opt-in on sign-up</label>
            <label lang="de-DE">Bestätigungs-URL für Double-Opt-In-Registrierung</label>
            <placeholder><![CDATA[/registration/confirm?em=%%HASHEDEMAIL%%&hash=%%SUBSCRIBEHASH%%]]></placeholder>
            <helpText><![CDATA[Double opt-in URL for guest orders.<br/>Available placeholders: <br/>%%HASHEDEMAIL%%<br/>%%SUBSCRIBEHASH%%]]></helpText>
            <helpText lang="de-DE"><![CDATA[Double-Opt-In-URL für Gast-Bestellungen.<br/>Verfügbare Platzhalter: <br/>%%HASHEDEMAIL%%<br/>%%SUBSCRIBEHASH%%]]></helpText>
        </input-field>

        <input-field type="bool">
            <name>requirePasswordConfirmation</name>
            <label>Password must be entered twice</label>
            <label lang="de-DE">Passwort muss zweimal eingegeben werden</label>
            <helpText>Password has to be filled in twice to avoid input errors.</helpText>
            <helpText lang="de-DE">Passwort wird zweimal abgefragt, um Fehler bei der Eingabe zu vermeiden.</helpText>
        </input-field>

        <input-field type="bool">
            <name>showPhoneNumberField</name>
            <label>Show phone number</label>
            <label lang="de-DE">Telefonnummer anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>phoneNumberFieldRequired</name>
            <label>Phone number field required</label>
            <label lang="de-DE">Telefonnummer ist Pflichtfeld</label>
        </input-field>

        <input-field type="bool">
            <name>showBirthdayField</name>
            <label>Show birthday field</label>
            <label lang="de-DE">Geburtstag anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>birthdayFieldRequired</name>
            <label>Birthday field required</label>
            <label lang="de-DE">Geburtstag ist Pflichtfeld</label>
        </input-field>

        <input-field type="bool">
            <name>showAccountTypeSelection</name>
            <label>Show selection between company and customer account</label>
            <label lang="de-DE">Auswahl zwischen Geschäfts- und Kundenkonto anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>showAdditionalAddressField1</name>
            <label>Show additional address field 1</label>
            <label lang="de-DE">Adresszusatzzeile 1 anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>additionalAddressField1Required</name>
            <label>Additional address 1 field required</label>
            <label lang="de-DE">Adresszusatzzeile 1 ist Pflichtfeld</label>
        </input-field>

        <input-field type="bool">
            <name>showAdditionalAddressField2</name>
            <label>Show additional address field 2</label>
            <label lang="de-DE">Adresszusatzzeile 2 anzeigen</label>
        </input-field>

        <input-field type="bool">
            <name>additionalAddressField2Required</name>
            <label>Additional address 2 field required</label>
            <label lang="de-DE">Adresszusatzzeile 2 ist Pflichtfeld</label>
        </input-field>

        <input-field type="single-select">
            <name>addressInputFieldArrangement</name>
            <label>Arrangement of address fields City, ZIP and State</label>
            <label lang="de-DE">Anordnung der Adressfelder Stadt, PLZ und Bundesland</label>
            <options>
                <option>
                    <id>city-zip-state</id>
                    <name>City - ZIP - State</name>
                    <name lang="de-DE">Stadt - PLZ - Bundesland</name>
                </option>
                <option>
                    <id>zip-city-state</id>
                    <name>ZIP - City - State</name>
                    <name lang="de-DE">PLZ - Stadt - Bundesland</name>
                </option>
                <option>
                    <id>city-state-zip</id>
                    <name>City - State - ZIP</name>
                    <name lang="de-DE">Stadt - Bundesland - PLZ</name>
                </option>
            </options>
        </input-field>

        <input-field type="bool">
            <name>invalidateSessionOnLogOut</name>
            <label>Clear and delete cart on log-out</label>
            <label lang="de-DE">Warenkorb bei Abmeldung löschen</label>
            <helpText>If activated, the cart won't be saved and can't be restored after logout.</helpText>
            <helpText lang="de-DE">Wenn die Einstellung aktiviert ist, wird der Warenkorb nicht gespeichert und kann nach der Abmeldung nicht wiederhergestellt werden.</helpText>
        </input-field>

        <input-field type="bool">
            <name>allowCustomerDeletion</name>
            <label>Allow customer deletion</label>
            <label lang="de-DE">Löschen von Kunden zulassen</label>
        </input-field>

        <input-field type="int">
            <name>unusedGuestCustomerLifetime</name>
            <label>Expiry time of guest customer accounts</label>
            <label lang="de-DE">Zeit, nach der Gastkundenaccounts ablaufen</label>
            <helpText>Time in seconds. Zero disables automatic deletion.</helpText>
            <helpText lang="de-DE">Zeit in Sekunden. Null verhindert das automatische Löschen.</helpText>
        </input-field>

        <input-field type="bool">
            <name>requireDataProtectionCheckbox</name>
            <label>Data protection information must be accepted via a checkbox</label>
            <label lang="de-DE">Datenschutzbestimmungen müssen über eine Checkbox akzeptiert werden</label>
        </input-field>

        <input-field type="text">
            <name>pwdRecoverUrl</name>
            <label>Password recovery URL</label>
            <label lang="de-DE">Passwort-Wiederherstellungs-URL</label>
            <placeholder><![CDATA[/account/recover/password?hash=%%RECOVERHASH%%]]></placeholder>
            <helpText><![CDATA[Available placeholders: <br/>%%RECOVERHASH%%]]></helpText>
            <helpText lang="de-DE"><![CDATA[Verfügbare Platzhalter: <br/>%%RECOVERHASH%%]]></helpText>
        </input-field>

        <input-field type="text">
            <name>doubleOptInDomain</name>
            <label>Double opt-in domain</label>
            <label lang="de-DE">Double-Opt-In-Domain</label>
            <placeholder><![CDATA[https://localhost]]></placeholder>
            <helpText>Leave empty to use this Sales Channel's domain.</helpText>
            <helpText lang="de-DE">Leer lassen, um die Domain des Verkaufskanals zu verwenden.</helpText>
        </input-field>
    </card>
</config>
