Loading...
Skip navigation
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.

Create a frontend user on order products

First of all, you need to insert the createFrontendUser checkbox and the password field in the checkout form, by adding this values to the field-list.

For the onInvoice the TypoScript-Constants it could look like:

themes.configuration.extension.shop.checkout.onInvoice.fields.available = company, vatId, gender, firstname, lastname, street, houseNumber, postalCode, city, country, phone, email, password, message, deliveryAddressEnabled, deliveryAddressCompany, deliveryAddressFirstname, deliveryAddressLastname, deliveryAddressStreet, deliveryAddressHouseNumber, deliveryAddressPostalCode, deliveryAddressCity, deliveryAddressCountry, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed, createFrontendUser

If a frontend user is already logged-in in the frontend, the checkbox and password field won't be shown. If you want to make a user-account mandatory, you need to insert this value in the required section as well. The password should be always mandatory, therefore we need it anyway.

themes.configuration.extension.shop.checkout.onInvoice.fields.required = firstname, lastname, street, houseNumber, postalCode, city, country, email, password, privacyProtectionConfirmed, termsConfirmed, disclaimerConfirmed, deliveryAddressFirstname, deliveryAddressLastname, deliveryAddressStreet, deliveryAddressHouseNumber, deliveryAddressPostalCode, deliveryAddressCity, deliveryAddressCountry, createFrontendUser

Attention:

You need to enable this checkbox and password field for each payment type!

You need to add the static-include Modules - FE-Registration & Profile (modules) in your TypoScript-Root-Template and configure the data container, where the frontend-user must be stored in, the frontend-user-groups which must be attached and optionally the recordType of the frontend-user by using TypoScript-Constants:

themes.configuration.container.frontendUser = 35
themes.configuration.extension.modules.registration.frontendUserGroups = 1
themes.configuration.extension.modules.registration.recordType =

After a successful checkout and frontend user creation, the order will be attached to the frontend user. If there was already a user logged-in during the checkout process, only the order will be attached to the frontend-user.

Achtung:

The creation of the frontend user in the PayPal checkout, for example, takes place asynchronously in the callback, and can therefore take place a little later!

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
99M_________2IS______
__K____Y______5___XYY
DAM___L6M_____4______
U______D______W___XGD
Y2B___________K______