ericqu Posted October 12, 2013 Share Posted October 12, 2013 Hi how to display customer's phone number in order detail page, since we need to write the phone number on the parcel for delivery in Australia. It is wasting time to go to the customer's information page to find the phone number. Can it be displayed together with the address? thanks 1 Link to comment Share on other sites More sharing options...
vekia Posted October 12, 2013 Share Posted October 12, 2013 open file: ADMIN_DIR/themes/default/template/controllers/orders/helpers/view/view.tpl you can find there code to display shipping addres, here is a part of it: {displayAddressDetail address=$addresses.delivery newLine='<br />'} {if $addresses.delivery->other}<hr />{$addresses.delivery->other}<br />{/if} right before this code add: {l s='phone'}: {$addresses.delivery->phone_mobile}<br /> it should looks like: {l s='phone'}: {$addresses.delivery->phone_mobile}<br /> {displayAddressDetail address=$addresses.delivery newLine='<br />'} {if $addresses.delivery->other}<hr />{$addresses.delivery->other}<br />{/if} effect: 4 Link to comment Share on other sites More sharing options...
ericqu Posted October 12, 2013 Author Share Posted October 12, 2013 oh, it works! Thank you so so much! Link to comment Share on other sites More sharing options...
vekia Posted October 12, 2013 Share Posted October 12, 2013 hello thank you for confirmation that it works im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
nikolaik Posted December 17, 2013 Share Posted December 17, 2013 Thanks, that helped me too. Clients would usually prefer to add mobile phone and showing it on orders saves time to merchant. Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 you've got right, definitely. i think that this should be a part of default prestashop installation, maybe it's time to post it to forge 1 Link to comment Share on other sites More sharing options...
Dolke Posted December 17, 2013 Share Posted December 17, 2013 I was wondering the same thing the other day. I will implement this as well. Thank you poster and thank you Vekia. Good job!+1 vote for this to be part of default PS installation. Link to comment Share on other sites More sharing options...
eknitwear Posted December 18, 2013 Share Posted December 18, 2013 This Works... !! Thanks Mate..!! Link to comment Share on other sites More sharing options...
Recommended Posts