Setting Up PrestaShop Custom Registration Field

General Settings of PrestaShop Custom Registration Form Fields

Once you have installed and activated the module, go to Module Manager > Modules and scroll down to” Addify Custom Registration Fields” and click “Configure”. Now you can see the module’s general settings form here. You can:

  • Activate Module: Enable the option to activate the module; keep it disabled if you don’t want to activate it right now.
  • Show fields on My Account: Activate the option to display registration field information on the customer’s My Account page.
  • Show fields on Admin customer detail page: Enable it if you want to view the customer’s entered data on your customer detail page. Disable it if you don’t want to view the entered information.

Creating Registration Form Fields using Rule-Based Implementation

Now, from the side menu, click on “Fields”. Now you can see a log that will display multiple rules that you will create to add fields to your registration form. To add a new field, click on the “+” symbol and follow these steps: 

  • Enable Field: Choose to enable/disable created fields from this option.
  • Enter Field Title: Create a unique title for this rule
  • Add Priority: Enter any integer to give this rule a priority 
  • Select Field Type: Here you can select 16 different field types:
    • Text 
    • Textarea 
    • Number
    • VAT number 
    • Email 
    • Select 
    • Multiselect 
    • Checkbox(s)
    • Radio Button(s)
    • Date 
    • Switch
    • Attachment
    • Time 
    • Color 
    • Heading (only display)
    • Message 
  • Add field validation: From the dropdown, you can select field validation types as:
    • None
    • VAT Number Validation
    • Decimal Number
    • Integer Number
    • Email Letters 
    • Only numbers 
    • Numbers, letters, and symbols
    • Website URL address 
  • Write Field Name: Add a field name you want to display on the registration form ( such as company name, permanent address, or job designation, etc)
  • Add Field label: Now, enter a label for the custom field 
  • Create Short Description: Write a description about the custom field 
  • Add Placeholder: add a placeholder for the registration form field
  • Values Required: Enable it if you want to make the custom field required for users. Disable the options to keep it optional.
    Allow users to edit: Enable the button to allow customers to edit the entered data. Keep it disabled if you want to restrict them from editing.
    Dependent Field: Activate it if you want to make this field dependent on any other.
    Select dependent Field: From the dropdown, you can select any other field and make it dependent on this one.
    Add dependent Value: From the given option, select the dependent field value.. 

    Click on Save, and now you have successfully created a new registration form field for your customers. Following the same steps, you can add unlimited fields and make them dependent on each other to make the entire registration process smooth and quick.