Post by NickyS » Tue Jun 18, 2019 5:45 pm

does anybody know how to add the customers phone number to the invoice it has my number their address allsorts but not their phone number which is what i would like for post purposes?

Newbie

Posts

Joined
Tue Jun 18, 2019 5:41 pm

Post by OSWorX » Tue Jun 18, 2019 7:47 pm

What for do you want such an information on an Invoice?
Do you know the particular features of Invoices?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by WaxedPerfection » Tue Jun 18, 2019 9:22 pm

To fix the issue, ROOT >> admin/language/en-gb/sale/order.php file,

find:
$['text_telephone'] = 'Telephone';
you can change the text to below if you feel its needed
$['text_telephone'] = 'Store Telephone';

add this line below:

$_['text_customer_telephone'] = 'Customer Telephone';

In your ROOT >> admin/view/template/sale/order_invoice.twig file,

find:
{{ text_order_id }} {{ order.order_id }}

add this line below:

{{ text_customer_telephone }} {{ order.telephone }}

https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's


Active Member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 111 guests