Latest Articles
So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some .. Read More
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod .. Read More
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize.. Read More
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far e.. Read More
All Articles

How opencart custom fields work

In opencart 2.x by default you have the option to add new fields in the customer registration form that will display in the account  registration page and on the checkout registration page (even at guest checkout).

To insert a new customer custom field in admin navigate to Sale > Customers > Custom Fields.

Click on the add new button and a form like the one bellow will appear:

The first entry is the name of the field as it will appear on the registration form.

Next is location , if you select "account" the field will display in the account section (where the name and password fields are) and if you select "address" the new field will display in the address section.

Then you have type, there are 4 major types with subdivisions. Choose (checkbox, radio and select dropdown), Input (text - one line and textarea), File upload and Date (time, date and datetime).

When you select one of the 'choose' options (checkbox, radio or select dropdown) below this form a Custom field value form will appear. Click the add new button to create multiple values from which the user will be able to select (or pick multiple in the checkbox case).

In the next 2 rows you have to select customer groups, First select the customer groups that will have this field available at registration and then choose the customer groups that must complete this field in order to be able to create the account.

Then its the status and lastly the sort order. Here, when you input sort order take into account the default fields that appear allready on the registration page.

After you save, the new field will become available in the registration and guest checkout forms in front-end.


Posted by Flo