Forums / Templates, Stylesheets, Page Layout / Create An Account Form

Create An Account Form

Locked

Views: 1,586

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 Oct 2007, 12:01 AM
#1
nicksmm avatar

nicksmm

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Create An Account Form

Hi,

I have a small problem with the form, particularly the Company Details: Company Names.

Currently I think the character limit (value) is at a maximum of 30, is there anyway into increase that to say, 50?

Thanks,
Nick

31 Oct 2007, 1:10 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Create An Account Form

Yes - go to Admin->Tools->Install SQL Patch, and paste the following into the box, and click Send:

ALTER TABLE address_book MODIFY entry_company entry_company varchar(64) default NULL;
ALTER TABLE orders MODIFY customers_company customers_company varchar(64) default NULL;
ALTER TABLE orders MODIFY delivery_company delivery_company varchar(64) default NULL;
ALTER TABLE orders MODIFY billing_company billing_company varchar(64) default NULL;

(Yes, xxxxxx_company is repeated intentionally.)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.