5 replies [Last post]
dave's picture
Offline
Joined: 12/21/2008
Juice: 40
Was this information Helpful?

I've searched the forums and have read http://www.ubercart.org/docs/developer/246/invoice_system but I am still confused.

I have created a new template in ubercart/uc_order/templates and this works fine when viewing invoices and emailing these invoices.

However, I am trying to modify the email that gets sent to a customer when they submit an order. Is there a template for that? This email does not seem to be an invoice although it looks very similar to one.

I have set the invoice template to my new template using the config form at admin/store/settings/orders/edit/basic.

On this page it does say:

"Select the invoice template to use when invoices are viewed on the site.
This is separate from the template used to e-mail invoices to customers."

I don't get what is meant by "This is separate from the template used to e-mail invoices to customers." because the template does seem to be used when manually emailing the invoice from the order invoice page.

Thanks

Dave

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: e-mail invoices template

Ahh, there is some confusion in that string. It's separate from the checkout notification - I should update that to be more specific. To change the invoice used during checkout, you need to update the predicate for the checkout notifications. Find it under Administer > Site configuration > Conditional actions.

dave's picture
Offline
Joined: 12/21/2008
Juice: 40
Got it! I never thought

Got it!
I never thought about checking the conditional actions. I was just searching high and low in the store configuration.

Thanks Ryan.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Got it! I never thought

No prob. Glad that nailed it! We've really gotta get on the 2.x docs. Laughing out loud

alanburke@drupal.org's picture
Offline
Joined: 08/05/2008
Juice: 82
Add a link from Templates

Hi Ryan
As well as the docs, maybe a link from
admin/store/settings/orders/edit/basic
where the other template is set
to the conditional actions setting page
would be appropriate.

I too looked high and low for this one Smiling

Regards
Alan

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Add a link from Templates

Good call, Alan. Added it in and tweaked some verbiage.