Hi guys,
How do I get my invoice to include the customers email in there?
I am using O.C 2.0
This is not for Customer eMails, but for Admin Invoices, capable to be resent to Customers, if required.
But basically, I guess, it's important for the Admin, to know.
If this is, what your'e looking for:
In:
find:
change it to:
or:
In the OC v.1.5.6.y Versions, it works this way, but possibly, the:
Variable still has to be defined/declared, in the appropriate controller & language File.
Or then, it already exists, but carries another Name... (I'm not v.2. Insider!)
Try it out, but empty your cache first, to make it work, if it would...
Ernie
ipc.li/shop/
PS: it has been written about here, as well:
http://forum.opencart.com/viewtopic.php?f=72&t=145898
and it is default part of some of the popular (v.1.5.6.x) OC PDF-Printput Mod's as well.
But basically, I guess, it's important for the Admin, to know.
If this is, what your'e looking for:
In:
Code: Select all
opencart-2.0.3.1\upload\admin\view\template\sale\order_invoice.tpl
Code: Select all
<tr>
<td><address>
<?php echo $order['payment_address']; ?>
</address></td>
<td><address>
<?php echo $order['shipping_address']; ?>
</address></td>
</tr>
Code: Select all
<tr>
<td><address>
<?php echo $order['payment_address']; ?>
<br /><?php echo $order['email']; ?>
</address></td>
<td><address>
<?php echo $order['shipping_address']; ?>
</address></td>
</tr>
Code: Select all
<tr>
<td><address>
<?php echo $order['payment_address']; ?>
</address>
<br /><?php echo $order['email']; ?>
</td>
<td><address>
<?php echo $order['shipping_address']; ?>
</address></td>
</tr>
Code: Select all
$order['email']
Or then, it already exists, but carries another Name... (I'm not v.2. Insider!)
Try it out, but empty your cache first, to make it work, if it would...
Ernie
ipc.li/shop/
PS: it has been written about here, as well:
http://forum.opencart.com/viewtopic.php?f=72&t=145898
and it is default part of some of the popular (v.1.5.6.x) OC PDF-Printput Mod's as well.
Last edited by IP_CAM on Tue Jun 23, 2015 11:03 am, edited 1 time in total.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 39 guests