Jump to content

How to Customize Registration Fields in Prestashop (No IT Experience)


Recommended Posts

Hi, I want to add custom fields to my prestashop registration form. and rename some of the fields that I dont need. 
I have no IT experience. But I can follow instructions.


I tried to follow this, http://prestacraft.com/adding-new-fields-to-the-registration-form/#

but I cant proceed because, when I try to follow this,,,

14102719_1132865236788144_56481705064931

 

I am unsure if what i did is correct. 

Where should I execute this? is it under "phpmyadmin" or under "prestashop?" os somewhere else?

14095823_1132868623454472_28405567449049

 

 

anyways, I tried to execute it in both of them. but i still get an error message.

14102404_1132869463454388_87091129345000

 

 

 

 

is there something that i need to change?

Link to comment
Share on other sites

see there some syntaxes for all programming languages.

like in post (http://prestacraft.com/adding-new-fields-to-the-registration-form/#),

they are entering in ps_customer, so this ps_customer is an table. ps_ is prefix by default in prestashop, in your case table prefix is ch_ (as per picture).

 

One more thing, as per ref page, they are adding two fields in one is my_field, and my_required_field.

If you want to add two fields then okay other wise you need to make changes for only one field.

 

sql related help : http://www.w3schools.com/sql/

 

Then change according to tpl , class, controller files.

Take a backup first, then do the changes only.

Link to comment
Share on other sites

I am no IT so i cant understand the terms that much. if possible please tell me specifically what to do.

 

 I just ask someone and told me that I should execute it like this. but I am afraid to try. 

he said that I should execute

the mysql command not like this

 

ALTER TABLE ps_customer 

ADD COLUMN my_field VARCHAR(250)
ADD COLUMN my_field_required VARCHAR(250)

 

he said the what is correct is this

 

this first
 

 

ALTER TABLE ps_customer 
ADD COLUMN my_field VARCHAR(250)

then
ALTER TABLE ps_customer 
ADD COLUMN my_field_required VARCHAR(250)

Is it alright?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...