Demos Buy Now

Custom Registration Field For Magento 2

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.

Features

  • 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.
  • Display terms & conditions and privacy policy checkbox on the registration page.
  • Customize the terms & conditions and privacy policy section using color, background color, header text, animation, etc.
  • Multi Lingual support / All language working including RTL

Installation

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 upload, you can see the folders in your Magento2 Root Directory.

After the successful installation, you have to run these commands in the Magento2 root directory.

First command- php bin/magento setup:upgrade

Second Command – php bin/magento setup:di:compile

Third Command – php bin/magento setup:static-content:deploy

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.

Multilingual Support

For the multilingual support, admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin want to translate his store content).

Translation

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.

Module Configuration

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 InformationProperties 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.

Default Label

In the Label you need to give the name of the custom field which will be shown on the Sign Up Page.

Attribute Code

Here, the admin will enter the attribute code.

Input Type For The Store Owner

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.

Values Required

Admin can make this field mandatory and hence the values are required.

Input Validation For Store Owner

Admin can set the type of validation for the store owner.

Input Field Sort Order

Admin can set the input field sort order from here.

Display Field In Form

Here admin can display the fields on different forms.

Status

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.

Custom Fields will also appear in Sale’s Order and Invoice.

Custom fields will be displayed in the emails after enabling from the back end as per below screenshot –

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.

Terms & Conditions and Privacy and Cookie Policy Configuration

Admin can configure Terms & Conditions and Privacy and Cookie Policy under Stores > Configuration > Webkul > Custom Registration Settings->Terms & Conditions and privacy Settings. Here admin can configure the front-end view and enter his Terms & Conditions and Privacy and cookie policy. These policies will be visible on customer registration page.

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.

Privacy & Cookie Policy :

Here admin enters Privacy & Cookie Policy.

Front-end

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

. . .

Comments (6)

Add Your Comment

  • Sandra Poul
    overall module is great. I just want to ask is it supported for multi store in magento 2. For Example we setup two stores in one megento admin, is it possible for this module to display field in one store and hide from second store?
    • Goldy Bhargava
      Hi Sandra,
      Thanks for your feedback.

      It is not possible for Registration fields to get displayed on one store & hide it from the second store. But this functionality can be achieved through customization that is a paid service.
      For further information regarding this module, you can contact us at support@webkul.com.

  • Piotr
    Does not work with Magento 2.2 ……
    • Suraj Kumar
      Hi Piotr, this extension is compatible with Magento 2.2.x as well. Please contact us at support@webkul.com so that we can assist you better. Thanks
  • Nathan Nobbe
    Overall the module is great. One issue is I have no place to set show_in_order or show_in_email when creating/editing a custom field. They’re listed on the grid view, but not available in the edit view.
    • Webkul Support
      Thanks a lot for the contact please email us at support@webkul.com thanks
  • css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Index