Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.
Konfigurations-Beispiele
Warenkorb Zahlungs-Umschalter im Checkout
Dies ist ein Warenkorb mit drei Zahlungsmethoden und einem Zahlungs-Umschalter während des Checkouts.
Konstanten
themes.configuration.extension.shop.checkout.onInvoice.active = 1
themes.configuration.extension.shop.checkout.prePayment.active = 1
themes.configuration.extension.shop.checkout.request.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 1
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.extension.shop.checkout.paymentSwitchInCheckout = 1
themes.configuration.pages.shop.checkout = 101
themes.configuration.extension.shop.checkout.defaultPayment = prePayment
themes.configuration.extension.shop.checkout.onInvoice.fields {
available = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
required = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
themes.configuration.extension.shop.checkout.prePayment.fields {
available = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
required = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
themes.configuration.extension.shop.checkout.payPal.fields {
available = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
required = firstname, lastname, email, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
Setup
plugin.tx_shop.settings.basketOrder.fieldDefinition.disclaimerConfirmed.appendHorizontalRule = 1
Warenkorb Frontend-Benutzer erforderlich
Dies ist ein Warenkorb mit einem erforderlichen Frontend-Benutzer. Wenn kein Frontend-Benutzer eingeloggt ist, wird bei der Bestellung ein neuer Frontend-Benutzer erstellt.Falls bereits ein Frontend-Benutzer eingeloggt ist, wird der Benutzer automatisch der neuen Bestellung zugewiesen.
Das bedeutet zusammenfassend: Eine Bestellung ohne einen Frontend-Benutzer am Ende ist nicht möglich!
Konstanten
themes.configuration.extension.shop.checkout.onInvoice.active = 1
themes.configuration.extension.shop.checkout.prePayment.active = 0
themes.configuration.extension.shop.checkout.request.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 0
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.pages.shop.checkout = 68
themes.configuration.extension.shop.checkout.onInvoice.fields {
available = firstname, lastname, email, password, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed, createFrontendUser
required = firstname, lastname, email, password, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed, createFrontendUser
}
Warenkorb Frontend-Benutzer optional
Dies ist ein Warenkorb mit einem optionalen Frontend-Benutzer. Wenn kein Frontend-Benutzer eingeloggt ist, kann der Benutzer während des Checkouts wählen, ob er einen Frontend-Benutzer erstellt oder als Gast kauft.
themes.configuration.extension.shop.checkout.onInvoice.active = 1
themes.configuration.extension.shop.checkout.prePayment.active = 0
themes.configuration.extension.shop.checkout.request.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 0
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.pages.shop.checkout = 98
themes.configuration.extension.shop.checkout.onInvoice.fields {
available = firstname, lastname, email, password, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed, createFrontendUser
required = firstname, lastname, email, password, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
Achten Sie auf die Felder. Das Feld createFrontendUser ist verfügbar, aber nicht erforderlich. Das Feld password ist verfügbar und erforderlich – aber das Passwortfeld hat ein spezielles Verhalten: Es wird nur validiert, wenn die createFrontendUser-Checkbox während des Checkouts ausgewählt ist!
Dies ermöglicht es, während des Checkouts einen Frontend-Benutzer zu erstellen, wenn createFrontendUser ausgewählt ist, oder als Gast zu kaufen, wenn es nicht ausgewählt ist.
Warenkorb nur für Anfragen
Nur Produkte anfragen. Der Mindestbestellwert und fast alle Felder sind bei diesem Checkout deaktiviert.
themes.configuration.extension.shop.checkout.onInvoice.active = 0
themes.configuration.extension.shop.checkout.prePayment.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 0
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.sepa.active = 0
themes.configuration.extension.shop.checkout.defaultPayment = request
themes.configuration.extension.shop.basket.minimumOrderValue = 0
themes.configuration.pages.shop.checkout = 70
themes.configuration.extension.shop.checkout.request.fields {
available = firstname, lastname, phone, email, message, privacyProtectionConfirmed
required = firstname, lastname, email, privacyProtectionConfirmed
}
Warenkorb SEPA nur B2C
Dieser Warenkorb verwendet den SEPA-Lastschrift-Checkout und ist für B2C-Kunden gedacht.
In diesem Fall besteht der Unterschied zwischen B2B und B2C darin, dass B2C-Kunden eine Rückerstattung innerhalb von acht Wochen ab dem Belastungsdatum verlangen können.
themes.configuration.extension.shop.checkout.merchantName = Demo-Shop Inc.
themes.configuration.extension.shop.checkout.onInvoice.active = 0
themes.configuration.extension.shop.checkout.prePayment.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 0
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.sepa.active = 1
themes.configuration.extension.shop.checkout.request.active = 0
themes.configuration.extension.shop.checkout.defaultPayment = request
themes.configuration.extension.shop.basket.minimumOrderValue = 0
themes.configuration.extension.shop.basket.displayType = b2c
themes.configuration.pages.shop.checkout = 104
themes.configuration.extension.shop.checkout.sepa.fields {
available = firstname, lastname, street, houseNumber, postalCode, city, country, email, accountHolder, iban, bic, bankName, sepaConfirmedB2C, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
required = firstname, lastname, street, houseNumber, postalCode, city, country, email, accountHolder, iban, bic, bankName, sepaConfirmedB2C, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
Warenkorb SEPA nur B2B
Dieser Warenkorb verwendet den SEPA-Lastschrift-Checkout und ist für B2B-Kunden gedacht.
In diesem Fall besteht der Unterschied zwischen B2B und B2C darin, dass B2C-Kunden eine Rückerstattung innerhalb von acht Wochen ab dem Belastungsdatum verlangen können.
themes.configuration.extension.shop.checkout.merchantName = Demo-Shop Inc.
themes.configuration.extension.shop.checkout.onInvoice.active = 0
themes.configuration.extension.shop.checkout.prePayment.active = 0
themes.configuration.extension.shop.checkout.klarna.active = 0
themes.configuration.extension.shop.checkout.stripe.active = 0
themes.configuration.extension.shop.checkout.payPal.active = 0
themes.configuration.extension.shop.checkout.payPalPlus.active = 0
themes.configuration.extension.shop.checkout.payPalCheckout.active = 0
themes.configuration.extension.shop.checkout.sepa.active = 1
themes.configuration.extension.shop.checkout.request.active = 0
themes.configuration.extension.shop.checkout.defaultPayment = request
themes.configuration.extension.shop.basket.minimumOrderValue = 0
themes.configuration.extension.shop.basket.displayType = b2b
themes.configuration.pages.shop.checkout = 107
themes.configuration.extension.shop.checkout.sepa.fields {
available = firstname, lastname, street, houseNumber, postalCode, city, country, email, accountHolder, iban, bic, bankName, sepaConfirmedB2B, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
required = firstname, lastname, street, houseNumber, postalCode, city, country, email, accountHolder, iban, bic, bankName, sepaConfirmedB2B, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed
}
