Custom Registration Field for Magento 2 will allow the admin to create custom fields for customers. Using this module you can extend your customer sign up form. As Magento 2 default custom registration form is not extendable, Custom registration field for Magento 2 extension is the perfect choice for the store owners to extend custom fields for sign up form.
- Admin can easily extend the sign up form.
- Enable/disable the Address Fields for use on the customer registration page.
- Add, edit, or delete multiple custom fields.
- Set default label for the custom field & Manage Label for various store views
- Input types available – text, text-area, date of birth, drop-down, multi-select, radio-button, media image, file upload, or dependable field.
- Set values required – yes/no.
- Input validation – decimal number, integer number, email, URL, letters, letters or numbers.
- Set the sorting order of the custom registration fields.
- Set the custom field status as – enabled or disabled.
- Show or hide custom fields information in the sales email.
- Show or hide custom fields information in sales order and invoice.
- Multi Lingual support / All language working including RTL
Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.
If you have downloaded the module from Magento Connect then unzip the respective extension zip and create Webkul(vendor) then CustomRegistration (module) name folder inside your magento root directory as app/code/Webkul/CustomRegistration and then move all module’s files inside /app/code/Webkul/CustomRegistration/ folder in magento root directory.
After the successful installation, you have to run these commands in the Magento2 root directory.
First command- php bin/magento setup:upgrade
After running the commands, you have to log into the admin panel and you have to clear the Cache. You can refer to the below screenshot.
For translating the module language, please go to app>code>Webkul>CustomRegistration>i18n and edit the en_US.csv file. Now, translate the words on the right and upload the modified file to the same location.
The filename of the translated file should be according to the language and region code like de_DE.csv in which you want to translate. It supports both RTL and LTR languages.
After successful installation of the module, you will see a menu in Magento admin’s side panel for the custom registration field.
After clicking on Add New Field, a New Customer Attribute page will be open. Here, the admin will have two sub-menu options for Attribute Information – Properties and Manage Labels.
Here, we also have a Manage labels menu option wherein the admin can easily manage title(for different store views) for the label per store view.
There are many parameters available for the custom registration field, Let’s discuss each one by one.
In the Label you need to give the name of the custom field which will be shown on the Sign Up Page.
Here, the admin will enter the attribute code.
Input types for the owner are as under –
Text field – to enable the user to type the small amount of text.
Text Area– If Admin needs to obtain more than one line of input from the user, then use a text area.
Date – Using this field the customers will be able to select a date using a calendar.
The calendar appears at the sign-up page on the frontend for selecting a date.
Yes/No– This will provide a yes/no selection type for the store owner.
Multiple Select– Using Multiple Select more than one option in the list can be selected.
Dropdown– Using the drop-down at the footer new options will come where the admin can add value for admin and default store view.
Media Image and File Image– Admin can create Media Image and File Image type and also set the extension for both. For an example, this field will helpful in case of admin want to see a customer profile picture during sign up.
Dependable Field– Admin can set the type as a dependable field. During dependable field, If the customer chooses an option and on the selection of the option another field will be open up. In the case of Dependable Field, you have to mention Default Label, Attribute Code, Input Type, Values required & Input Validation for Store Owner.
Admin can make this field mandatory and hence the values are required.
Admin can set the type of validation for the store owner.
Admin can set the input field sort order from here.
Here admin can display the fields on different forms.
Here admin can enable or disable the custom option.
Radio – Using the radio button the admin can allow the customer to choose an option from the available options at the registration page.
After creating the radio options(and enabling them) get visible at the frontend on the registration page.
Admin can find Custom Registration Field under Custom Registration->Manage Custom Fields. The admin can delete or change the status of the Custom Registration field.
Also, here the admin can manage the display field’s visibility on the Orders and in the emails by clicking the menu option Manage Display Fields as shown below.
Admin can display in order or hide from the order the custom attributes as well as the show in emails or hide from emails as shown below in the snapshot.
Admin can view additional information of the customer by going to Customer > All customer then all the customers of the store will be displayed and then the admin has to click on the edit button of any particular customer whom admin want to view or manage the additional information.
The admin needs to navigate to the menu option Custom Registration Fields.
Here, the admin can also Enable the Address Field. If enabled then the customer will have the option to enter the address fields on the registration page itself else if selected as No then the customer will have to navigate to his account panel to add his address.
Enable Terms and Conditions on Registration Page :
Admin can select whether these policies will be visible on customer registration page or not.
Privacy Popup Model Heading :
Here admin enters the heading of privacy popup model.
Term and Condition Popup Model Heading :
Here admin enters the heading of Terms & Conditions popup model.
Model Button Text :
Admin enters the text of button which will appear on the model.
Button Text Color :
Can provide hex color code for color or leave blank for default color.
Model Button Color :
Can provide hex color code for color of the button or leave blank for default color.
Model Header Background Color :
Can provide hex color code for color of the model header background or leave blank for default color.
Note : It will work only when the “Model Animation Type” is selected as “Slide”.
Model Background Color :
Can provide hex color code for color of the model background or leave blank for default color.
Model Animation Type :
Admin can select model animation type as “Popup” or “Slide“.
Front-end view of the model when animation type selected as “Popup”.
Front-end view of the model when animation type selected as “Slide”.
Show Content as :
Admin can show content as “HTML” or “Text”.
Terms & Conditions :
Here admin enters Terms & Conditions.
Custom Registration Fields will appear on customer sign-up form as per the screenshot.
The customer can also view and manage the additional information from their account.
That’s all for the Magento 2 Custom Registration Field module still have any issue feel free to add a ticket and let us know your views to make the module better at http://webkul.uvdesk.com/
Current Product Version - 2.1.0
Supported Framework Version - 2.0.x, 2.1.x, 2.2.x, 2.3.x