Post by rranjithin » Sun Mar 15, 2015 12:17 am

hi,
i'm using the opencart 2.0.1.1 in the order invoice customer email n phone no. are not displaying..
pls can anyone give the solution.???

Newbie

Posts

Joined
Wed Mar 11, 2015 4:39 am

Post by thng » Sun Mar 15, 2015 12:49 am

Go to admin/view/template/sale and edit order_invoice.tpl
in line 56 find the address table and change it to:

Code: Select all

<td><address>
            <?php echo $order['payment_address']; ?>
            <br><?php echo $order['email']; ?><br/>
            <?php echo $order['telephone']; ?>
			</address>
			</td>
I also needed it and works :)
Last edited by straightlight on Fri Apr 17, 2020 10:35 pm, edited 1 time in total.
Reason: Added code tags.

New member

Posts

Joined
Wed Nov 19, 2014 10:40 pm

Post by rranjithin » Sun Mar 15, 2015 1:04 am

thanks for ur reply.. it is working!

And i need to print custom field in the customer invoice..

for example i have added "Landmark " as the custom filed in the address form!

Newbie

Posts

Joined
Wed Mar 11, 2015 4:39 am

Post by fxlab » Sat May 16, 2015 5:51 am

I'm having the same problem, but with version 2.0.2.0. The address table from version 2.0.1.1 doesn't match version 2.0.2.0 (Unless I missed something). Does anyone have a solution to correct this problem (customer e-mail and phone no. not displaying on invoice) within version 2.0.2.0. Thank you.

Newbie

Posts

Joined
Tue Nov 16, 2010 1:23 am

Post by TaiKen » Wed Sep 23, 2015 1:42 am

Thanks thng! Confirmed it is working with version 2.0.3.1.

Newbie

Posts

Joined
Wed Sep 23, 2015 1:39 am

Post by yowchuan » Tue Dec 29, 2015 1:53 pm

Just a question, what if the payment address telephone & email is different from shipping address telephone & email?

Thanks,
YC

New member

Posts

Joined
Wed Feb 06, 2013 2:39 am

Post by mrnet » Sat Feb 04, 2017 2:15 am

Thank you!

New member

Posts

Joined
Thu Dec 08, 2011 8:16 am

Post by TomSto » Sun May 28, 2017 6:00 am

Thanks. Its working on 2.3.0.2

http://mazamada.lt


Newbie

Posts

Joined
Sat May 27, 2017 5:40 am


Post by lavieverte » Tue Aug 29, 2017 10:10 pm

Thanks, it's working. Much better than installing those existing adding telephone on invoice extensions which do not work at all.

Newbie

Posts

Joined
Mon Jul 17, 2017 1:03 am

User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm
Who is online

Users browsing this forum: No registered users and 73 guests