How to add custom fields in OpenCart registration form

To capture customer and purchase information, OpenCart registration forms include predefined fields. These fields can be customised to suit your needs. This article will show you how to add a custom field to the registration form without having to write any code

Adding custom fields in OpenCart registration forms

To create a new customer field, follow these steps:

  1. Log into OpenCart as an administrator
  2. On the Dashboard in the left sidebar, click Customers, and then click Custom Fields:

  3. Click on Add New button to add new fields:

  4. Fill in the name, location to display the field, input type and all other required fields.Check on the Customer Group and Required field, and then change the Status field to enabled.The screenshot belows a new region field for the user registration page:

  5. Save the changes to view the new field on the registration page:

More Information

For more information about  customer management, please visit: http://docs.opencart.com/en-gb/sale/customer/

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.