lucasvm Posted April 27, 2009 Posted April 27, 2009 Hello I need to add a custom field on shipping address section, when you add a product to cart and add a shipping address, i was abble to add a custom field, everything ok, with: in english.php i made this: define('ENTRY_STREET_ADDRESS2', 'Street Address 2:'); and in checkout_new_address.php i made this: <td class="main"><?php echo ENTRY_STREET_ADDRESS2; ?></td> <td class="main"><?php echo tep_draw_input_field('street_address2') . ' ' . (tep_not_null(ENTRY_STREET_ADDRESS_TEXT2) ? '<span class="inputRequirement">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?></td> but i dont know how to make it work because it doesnt save it to mysql when i enter a text o that field... hope you can understand, i have a bad english... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.