mark27uk3 Posted August 16, 2005 Share Posted August 16, 2005 Hi Guys, I asked this once before and got no reply, so I thought I would try again and see if anyone does actually know. ?? Does anyone know or would care to show me how to add an extra address line to the order_info.php page in PWA so it follows through the checkout process?? Any help would be appreciated. Thanks Mark :blink: Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
sukotto Posted August 19, 2005 Share Posted August 19, 2005 Hi Guys, I asked this once before and got no reply, so I thought I would try again and see if anyone does actually know. ?? Does anyone know or would care to show me how to add an extra address line to the order_info.php page in PWA so it follows through the checkout process?? Any help would be appreciated. Thanks Mark :blink: <{POST_SNAPBACK}> I am trying to do the same thing. What i've done so far is I've taken the instructions for the second line address contrib, and applied it to all the standalone files in the PWA mod (meaning all the files that didn't previously exist in OSC). I did a search for all the street_address queries, and when I found one, I added the same code but changed it all to street_address_2. For example: $password = tep_db_prepare_input('na'); $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']); // Second Address Field mod: $street_address_2 = tep_db_prepare_input($HTTP_POST_VARS['street_address_2']); // :Second Address Field mod if you find something that looks like: $sql_data_array = array('entry_firstname' => $customers_firstname, 'entry_lastname' => $customers_lastname, 'entry_street_address' => $entry_street_address, 'entry_postcode' => $entry_postcode, 'entry_city' => $entry_city, 'entry_country_id' => $entry_country_id); just at an extra 'entry_street_address' => $entry_street_address_2, underneath the first street address line. I did all that, and it seems to work. however, the only thing is that I cannot get the second street address line to pass to the order confirmation screen, unless it meets the same minimum character requirement as the first street address. also, it will only show address line 2 or suburb, but not both, on the order confirm screen, and I don't know why. can anyone else help with this? Scott Link to comment Share on other sites More sharing options...
sukotto Posted August 19, 2005 Share Posted August 19, 2005 but, of course, the lastest installation of second address line that I have, it also only displays street 2, or suburb, but not both. Link to comment Share on other sites More sharing options...
Beer Monster Posted August 20, 2005 Share Posted August 20, 2005 http://www.oscommerce.com/community/contributions,2497 and http://www.oscommerce.com/community/contributions,1855 These contributions add extra lines. You can mod them to be what you want them to be! To modify PWA to include such lines look at http://www.oscommerce.com/community/contributions,2444 Which adds a mr/mrs/dr type dropdown and has specific instructions for PWA users! Light, in the absence of eyes, illuminates nothing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.