*

hariom singh

  • **
  • 22 posts
adding new field in registration page
« on: October 29, 2021, 04:29:45 PM »
  I want to add a field in registration page so that i get the idea which one is seller and which is buyer. I want to add the data to the database i have added a column in the table but i am not getting in which file there is sql query to upload data to database.

*

MB Themes

Re: adding new field in registration page
« Reply #1 on: October 31, 2021, 08:45:42 AM »
@hariom
There are several things to do:
  • Add fields to user registration form
  • Add fields to user profile form
  • Create new fields in database, i.e. in t_user table (i.e. b_user_type)
  • Create function that will update new fields to database
  • Create function that will be added to hooks to initiate update/insert
  • Any other features based on this fields, in front or in backoffice (i.e. adding to user profile in backoffice)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots