sadi21 Posted June 15, 2011 Share Posted June 15, 2011 Hi,I am using prestashop 1.4.1I want customer mobile phone number to display on order details page. Currently only home phone is displayed on order details page.I appreciate if anyone can help me do do it. Link to comment Share on other sites More sharing options...
shokinro Posted June 15, 2011 Share Posted June 15, 2011 you can just go to add it in /admin/tabs/AdminOrders.php page.check out inside method (function) displayAddressDetail Link to comment Share on other sites More sharing options...
sadi21 Posted June 16, 2011 Author Share Posted June 16, 2011 Thanks for the reply.i have gone through the function displayAddressDetail in AdminOrders.php but did not find any thing, may be i am not very fluent in php.Can you please guide me precisely what to modify?thanks Link to comment Share on other sites More sharing options...
Zenith Posted June 16, 2011 Share Posted June 16, 2011 You need to add the mobile number to the shipping country address format, then it will show on the order page. Link to comment Share on other sites More sharing options...
sadi21 Posted June 16, 2011 Author Share Posted June 16, 2011 Thank you, It worked.it need database access.What i did is:Go to ps_address_format table. Find your countries ID & edit record. At the end of format field add phone_mobile & save.The mobile phone will start showing up on order details page. Link to comment Share on other sites More sharing options...
Zenith Posted June 16, 2011 Share Posted June 16, 2011 You can edit it from the BO on the Countries page when you edit the Country. No need to mess with the database directly for this. Link to comment Share on other sites More sharing options...
James R Posted March 29, 2012 Share Posted March 29, 2012 Thank you, It worked. it need database access. What i did is: Go to ps_address_format table. Find your countries ID & edit record. At the end of format field add phone_mobile & save. The mobile phone will start showing up on order details page. Do you have to go through each country id and add iti nto every single one? Quicker to execute them all at once: UPDATE `db1084964_ruby`.`ps_address_format` SET `format` = 'firstname lastname company vat_number address1 address2 postcode city Country:name phone phone_mobile' 1 Link to comment Share on other sites More sharing options...
Mr.Beetroot Posted March 29, 2012 Share Posted March 29, 2012 How about in version 1.3.3? There is no ps_address_format table in this version. Link to comment Share on other sites More sharing options...
Recommended Posts