leveera Posted May 14, 2008 Posted May 14, 2008 Hello, Just need to increace Company lenght field in M2.2 I changed in mysql two tables address_book - entry_company to varchar 64 and orders - customers_company to varchar 64 but still not able in type/edit existed customers company over 32 char. in admin/customers.php What I have missed? in mysql the table customers has no Company line Sergei
dmnalven Posted May 14, 2008 Posted May 14, 2008 Look in the 'extras' directory of your osC download for a pdf flowchart of the database relationships. For ALL problems, please review this link first -> osCommerce Knowledge Base
leveera Posted May 15, 2008 Author Posted May 15, 2008 dmnalven, thanks for advice, Anyway I found solution and for anybody who need the same Change in phpmyAdmin varchar in 2 tables as stated above Edit admin/customers.php line 487 Change maxlenght value to fit you needs <?php if ($error == true) { if ($entry_company_error == true) { echo tep_draw_input_field('entry_company', $cInfo->entry_company, 'maxlength="32"') . ' ' . ENTRY_COMPANY_ERROR; } else { echo $cInfo->entry_company . tep_draw_hidden_field('entry_company'); } } else { echo tep_draw_input_field('entry_company', $cInfo->entry_company, 'maxlength="32"'); } ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.