ipcomp1 Posted February 24, 2010 Share Posted February 24, 2010 HelloHow do i add phone numbers to orders that customers make in our websitebecuase we are printing the orders to prepar to the customer , and if we have to ask the customers somthingthe phone number is not showingi add a picture to show what i needThanksShlomi Link to comment Share on other sites More sharing options...
rocky Posted February 24, 2010 Share Posted February 24, 2010 Add the following after line 582 of admin/tabs/AdminOrders.php: '.(!empty($addressDelivery->phone) ? ' '.$addressDelivery->phone.' ' : '').' and this after line 593 (line 594 after the above edit): '.(!empty($addressInvoice->phone) ? ' '.$addressInvoice->phone.' ' : '').' Link to comment Share on other sites More sharing options...
Site Posted February 24, 2010 Share Posted February 24, 2010 Would this also work for adding the email address to the list? Link to comment Share on other sites More sharing options...
rocky Posted February 24, 2010 Share Posted February 24, 2010 Yes, you could display the email using $customer->email, but since the customer email is already displayed under "Customer information" on the order page, it is unnecessary to add it to the shipping and invoice addresses. Link to comment Share on other sites More sharing options...
Site Posted February 24, 2010 Share Posted February 24, 2010 Hi,Thanks for your reply rocky. Link to comment Share on other sites More sharing options...
ipcomp1 Posted February 24, 2010 Author Share Posted February 24, 2010 Hi Thanks for your answer , just one more thinghow to add the second phone number to ?ThanksShlomi Link to comment Share on other sites More sharing options...
rocky Posted February 25, 2010 Share Posted February 25, 2010 Add the following after line 583 of admin/tabs/AdminOrders.php (after the phone line you added): '.(!empty($addressDelivery->phone_mobile) ? ' '.$addressDelivery->phone_mobile.' ' : '').' and this after line 595 (after the phone line you added): '.(!empty($addressInvoice->phone_mobile) ? ' '.$addressInvoice->phone_mobile.' ' : '').' Link to comment Share on other sites More sharing options...
thisbox Posted December 7, 2010 Share Posted December 7, 2010 I is looking for it, thanks. Link to comment Share on other sites More sharing options...
James R Posted March 29, 2012 Share Posted March 29, 2012 Anyway of doing this in 1.4.7? See for solution: http://www.prestashop.com/forums/topic/114778-solved-customer-mobile-number-on-order-details-page/ Link to comment Share on other sites More sharing options...
Recommended Posts