Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add fields to the Customers table?


grwd

Recommended Posts

Posted

:?: How do I go about adding fields to the Customers table without messing up osCommerce?

Thank you,

Tim

Posted

First you gotta add the desired fields to your database, then you gotta add the related code to the desired page(s).

 

If you know sql and some php, this shouldn't be to large of a task. If not...uhhhh, hire somebody???

 

Good luck.

JHouse

Posted
First you gotta add the desired fields to your database, then you gotta add the related code to the desired page(s).  

 

If you know sql and some php, this shouldn't be to large of a task. If not...uhhhh, hire somebody???

 

Good luck.

 

Is it best to add the new fields to the END of the existing fields in the table?

Or does it matter to the existing PHP code?

Thank you,

Tim

Posted

+++++++++++++++++++++++++++++++++++++++++++

Is it best to add the new fields to the END of the existing fields in the table?

Or does it matter to the existing PHP code?

+++++++++++++++++++++++++++++++++++++++++++

 

As far as I know, and I'm definitely no expert whatsoever, you want to add the desired fields to the customer info table. I don't think sequence makes a difference, but I could be totally wrong.

 

The php code should be added before or after (depending on your desires) to the related php tags. So, if you wanted to add a 'NickName' field, you'd probably want to add it just after the customer's last name located on the New User page (login.php?).

 

Hope this helps. Don't go blowing shit up now.

 

Peace.

JHouse

Archived

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

×
×
  • Create New...