Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Field Addition


bytemyborg

Recommended Posts

Posted

Dear Community:

 

This is my first post, so be kind :>

 

I want to extend the number of Customer fields, adding approximately 12 in total.

 

I've searched the topic and not found anything that will help with my 2.3.3 install.

 

These fields will be hidden from the sign up, to be changed later on.

 

I'm not sure where to start, but I have extended the product section already.

 

I was hoping to find an Add on but could not see anything.

 

Links to other threads would be appreciated as well.

 

Thanks !

Posted

@@bytemyborg

 

What you intend to do with the fields greatly affects the answer to your question. If you just need fields for the administrator to see, then you would add them to the /admin/customers.php file and also create associated database fields. How that data is related to other areas of the cart would also affect those areas. ie. Orders, account history, reports, etc etc etc

 

 

 

Chris

Posted

My fields will be on both sides of the system, so my plan is to add the fields on account section. I cloned account_edit.php

and all his friends, changed all the text labels in the php, and added my new link to account.php

 

My next step is to modify the database and am wondering if it wouldn't be a better idea to create my own table for my

new data, or is it a better idea to add my new fields to the customers table?

 

There are 21 fields in total, some numeric, all text fields will be drop downs.

 

Once the editor works, then admin will need to change to view the data, call that step two.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...