Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add apartment to new account


Jack_mcs

Recommended Posts

Posted

I need to add an apartment field to my customer accounts. I've search the contributions but couldn't find anything. I thought to do it myself but from the looks of create_account.php, a change to the database is required to make it work. This is over my head ATM. Does anyone know how to add an apartment field?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

you are exactly right, it will require an entry in the sql db. the best way to go about trying to add that field would be to copy how the address field is handled. remember to backup your files and do this in your test environment.

Posted

Might I suggest just using plain text and adding apartment number to main address line... this is a simple solution and will NOT require any DB changes

Posted
you are exactly right, it will require an entry in the sql db. the best way to go about trying to add that field would be to copy how the address field is handled. remember to backup your files and do this in your test environment.

Thought so. But like I said, the whole project is beyond my ability ATM. Thanks for the reply.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Might I suggest just using plain text and adding apartment number to main address line... this is a simple solution and will NOT require any DB changes

I'm not sure I understand what you mean. Are you saying to just change

Street Address

to read as

Street Address and Apt #?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Here is my solution:

 

Suite/Apt:

 

:-)

That's what I thought you meant. But the page is set up to allow for a certain length of text. Changing Street Address to Street Addess - Apt messes up the alignment of the text boxes. I realize I could go in an add some spacing but that just seems to be making a bad idea worse. I can't believe no one has ran into this problem before. Anyway, I appreciate the replies.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...