rocdy Posted October 6, 2009 Posted October 6, 2009 Anyone know how to increase Customer Address Lenght? I have tried to change it in the database use phpmyadmin. But it doesn't work. If anyone know how to increase the Customer Address Lenght please post it here. Thanks Best Regard Rocdy Rocdy Beginner in php programming and still learning from this forums. Special thanks for Oscommerce Community Forums that help me a lot. :-)
multimixer Posted October 6, 2009 Posted October 6, 2009 The way IS the database Go to the table address_book, find the field entry_street_address and change the varchar value to something higher than 64 My community profile | Template system for osCommerce - New: Responsive | Feedback channel
rocdy Posted October 6, 2009 Author Posted October 6, 2009 The way IS the database Go to the table address_book, find the field entry_street_address and change the varchar value to something higher than 64 I have try that before, i change entry_street_address from varchar(64) into varchar(128) and it still not change my customer addres length. I know that when i try to edit my customer address in admin side. Any idea about that? Thank before. Rocdy Beginner in php programming and still learning from this forums. Special thanks for Oscommerce Community Forums that help me a lot. :-)
FIMBLE Posted October 6, 2009 Posted October 6, 2009 I have try that before, i change entry_street_address from varchar(64) into varchar(128) and it still not change my customer addres lenght. I know that when i try to edit my customer address in admin side. Any idea about that? Thank before. Are you trying to do this for existing customers or for new customers, as there are at least two entries in the database Table address book table orders Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
rocdy Posted October 6, 2009 Author Posted October 6, 2009 I have try that before, i change entry_street_address from varchar(64) into varchar(128) and it still not change my customer addres length. I know that when i try to edit my customer address in admin side. Any idea about that? Thank before. Oh, i find some good trick. Maybe this are the solution. http://www.oscommerce.com/forums/index.php?showtopic=313117 I just change the length of the input field. So i can edit customer address base on the limit in database varchar(128) :) Rocdy Beginner in php programming and still learning from this forums. Special thanks for Oscommerce Community Forums that help me a lot. :-)
FIMBLE Posted October 6, 2009 Posted October 6, 2009 confused now :'( Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
rocdy Posted October 6, 2009 Author Posted October 6, 2009 confused now :'( Sorri. Maybe is my fault. i will explain more. I have increase address length in the database, but i forgot to change the input fields in catalog/admin/customer.php: echo tep_draw_input_field('entry_street_address', $cInfo->entry_street_address, 'maxlength="64"', true); and i can't input more than 64 character. than i change 'maxlength="64" into 'maxlength="128" : echo tep_draw_input_field('entry_street_address', $cInfo->entry_street_address, 'maxlength="128"', true); and i can write more than 64 character now. Sorri for my bad English. :) Rocdy Beginner in php programming and still learning from this forums. Special thanks for Oscommerce Community Forums that help me a lot. :-)
FIMBLE Posted October 6, 2009 Posted October 6, 2009 right, so you wanted the input boxes wider, i see now. Your English is fine. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.