Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customize the personal page


dba

Recommended Posts

Posted

I have a customer who wants to add additional information to the personal page that will write to the database for easy access later

 

How did you hear about us?

 

What is your wedding date?

 

Would you like to be on our e-mail list?

 

I am a programmer and can figure out how to add more columns and write the values. However, has anyone already done this and knows the tables to modify or is there an option for customization already? Also will this break the cart if I start changing tables and code? Thanks.

Posted

If you want to avoid breaking anything, the easiest solution would be to link the session ID (or userid, depending on whether the person is logged in upon entrance in your scenario) to the additional info you want via a new table in the DB. This way, all your code for the new module is separate from the application code base, and you won't have any problems with upgrades or modifications later.

 

Also, I'd put the new code module in an include file, to make it easier to drop in wherever and however you wish.

 

Just a suggestion! :)

Archived

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

×
×
  • Create New...