Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Configuration Examples
Basket payment-switch in checkout
This is a basket with three Payment methods and a payment switch during checkout.
Constants
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
Basket frontend-user required
This is a basket with a required frontend-user. If no frontend-user is logged-in, the ordering creates a new frontend-user.In case of a frontend-user is already logged-in, the user will be automatically assigned to the new order.
That means in summary: An order without a frontend-user in the end isn't possible!
Constants
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
}
Basket frontend-user optional
This is a basket with an optional frontend-user. If no frontend-user is logged-in, the user can choose creating a frontend-user during checkout or buying as a guest.
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
}
Pay attention to the fields. The field createFrontendUser is available but not required. The field password is available and required – but the password field has a special behaviour: It will be only validated if the createFrontendUser checkbox is selected during checkout!
This makes it possible to create a frontend-user during checkout when createFrontendUser is selected or buying as a guest if it's not selected.
Basket request only
Request products only. Minimum order value and a mostly all fields are disabled on this checkout.
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
}
Basket SEPA only B2C
This basket uses SEPA Direct Debit checkout and is intended for B2C customers.
In this case, the difference between B2B and B2C is that B2C customers can request a refund within eight weeks from the debit date.
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
}
Basket SEPA only B2B
This basket uses SEPA Direct Debit checkout and is intended for B2B customers.
In this case, the difference between B2B and B2C is that B2C customers can request a refund within eight weeks from the debit date.
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
}
