baalwww Posted January 23, 2006 Posted January 23, 2006 I cant help but notice that when a customer puts in their address, they are being asked for postcode, which comes before state. Is there somewhere where people have state AND postcode, as opposed to zipcode? I'd like to have the address look like a typical u.s. address... street, city, state, zip. I notice there are address format values...are they documented anywhere, and do they control this?
draxion Posted January 23, 2006 Posted January 23, 2006 I just posted this link for someone else. Take a look. It explains how to change the format. It's the first thing I did when I first started out with osc. http://www.apex-internet.com/download/form...ation_guide.pdf
draxion Posted January 23, 2006 Posted January 23, 2006 forget what I gave in my previous post... I think that document is a little out of date but I would still read it as it may give you some ideas for other stuff. To change the postal code, here's what you need to look for: In create_account.php and address_book_details.php look for the following code and move it around to where you want it. <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode', $entry['entry_postcode']) . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> Hope that helps. Shayne
baalwww Posted January 24, 2006 Author Posted January 24, 2006 forget what I gave in my previous post... I think that document is a little out of date but I would still read it as it may give you some ideas for other stuff. To change the postal code, here's what you need to look for: In create_account.php and address_book_details.php look for the following code and move it around to where you want it. <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode', $entry['entry_postcode']) . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> Hope that helps. Shayne thx a million
Recommended Posts
Archived
This topic is now archived and is closed to further replies.