Jump to content

[SOLVED] how to display customer's phone number in order detail page


Recommended Posts

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

 

 

 

post-634809-0-89052900-1381571894_thumb.jpg

  • Like 1
Link to comment
Share on other sites

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:

vINHPQn.png

  • Like 4
Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...