4 replies [Last post]
cornelombaard's picture
Offline
Joined: 06/02/2009
Juice: 75

How does one change the way the invoice that the system send to you looks. I would like the invoice to not have the logo with it cause it makes the invoice to wide and then you have scroll bars left and right. Anybody can help me please?

RachelNY's picture
Offline
Joined: 01/06/2009
Juice: 62
Re: How do you edit the invoice that is sent to you?

The order email templates are in \sites\all\modules\ubercart\uc_order\templates: admin.itpl.php and customer.itpl.php

The problem is that if you edit the templates they will be overwritten when you upgrade and you will have to replace them ...

Instead I created two new templates, put them in my them folder and used ln -s to create a symbolic link from \sites\all\modules\ubercart\uc_order\templates to the files in my theme folder ... this is working great ...

You'll need to go into condition actions and change "E-mail admin checkout notification" and "E-mail customer checkout notification".

IMO, UC should check the default theme folder for admin.itpl.php and customer.itpl.php and use those if they are available ... that would be much easier...

Rachel

larsdesigns's picture
Offline
Joined: 09/25/2009
Juice: 7
For more information

Please see this forum post http://www.ubercart.org/forum/support/9562/customizing_order_confirmatio... . Ryan the Ubercart maintainer clearly describes the proper Drupal way to theme the e-mail confirmation.

rgracia's picture
Offline
Joined: 10/01/2009
Juice: 24
Re: For more information

subscribing.

ahimsauzi's picture
Offline
Joined: 09/21/2009
Juice: 51
Re: For more information

Does not really work unless you replace the content of customer.tpl.php