Post by brettcyr » Fri Jun 17, 2016 9:32 am

Can a single line of text have its color changed on an invoice to the customer, to emphasize something the customer needs to know? If so, what file do I edit and code please.

Newbie

Posts

Joined
Fri Jun 17, 2016 9:27 am

Post by impairedspook » Sat Jun 18, 2016 7:34 am

Hi brettcyr,

If you want to edit the order invoice you can edit the admin/view/template/sale/order_invoice.tpl file...

What section or line do you want to change? Just as an example I have changed the "email" line font from black to red. So in the above file I found the line of code..

Code: Select all

<b><?php echo $text_email; ?></b> <?php echo $order['store_email']; ?><br />
and changed this to...

Code: Select all

<b><font color="red"><?php echo $text_email; ?></b> <?php echo $order['store_email']; ?></font><br />
Hopefully this helps or points you in the right direction :) - If you are not sure what to edit, advise what you are trying to change the colour of and we can have a look for you.

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am

Post by brettcyr » Sat Jun 18, 2016 7:50 am

At the top of the invoice the customer gets looks like this Image

I want to drop this line down Image Which reads "Pleas allow 30 days for items to be shipped" and change it to red.

Newbie

Posts

Joined
Fri Jun 17, 2016 9:27 am
Who is online

Users browsing this forum: No registered users and 1 guest