7 replies [Last post]
druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Was this information Helpful?

where are these guys kept. i'd like to modify some of them.

thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Invoice and other mail templates

Check out this page for docs:
http://www.ubercart.org/docs/developer/246/invoice_system

The files are in ubercart/uc_order/templates.

Not the best place, I know. Sticking out tongue Need to rethink some file structure in the project.

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Re: Re: Invoice and other mail templates

fwiw, the default uc template that's used for email confirm / "thank for purachsing" on check payment needs some lovin'. not sure if anybody uses check payment at all so it's possible this one fell through the cracks. Or maybe it's something wrong on my end. if it's not, a decent check template should probably be included in uc core.

The mail content is spread out all over the place with way too much white space. It's hard to read the thing. It doesn't looks like it's being sent as html so i don't think that's the issue. Possibly the html is getting converted to non html and inserting lots of white space??

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Invoice and other mail templates

Hmm... someone mentioned that problem before the crash but I don't think I ever got a reason for it sending the e-mail as non-HTML. It was working fine for me on the Livetest w/ a Gmail account.

druru's picture
Offline
Brain Stormer
Joined: 08/08/2007
Juice: 228
Re: Re: Re: Re: Invoice and other mail templates

fyi, i have html turned off in my email account. so that could be the reason. but depedning on how the template was set up (i haven't actually looked at it), i would think that it would degrade gracefully if the html was stripped out.

Maybe my squirrel mail is doing the best it can based upon the html (table's based design?)?

I'm still thinking the majority of that white space shouldn't be there. a perfect example is an html newsletter. it might look great in html but if you disable html, it's still very readable. text is grouped in paragraphs and flows nicely. it just lacks all the fancy stuff.

Something tells me that the template might be table's based?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Invoice and other mail templates

Yeah, it's table based, courtesy of Amazon.com. Eye-wink

And you're right... it can definitely use a touch up.

chadcross's picture
Offline
Joined: 06/23/2008
Juice: 2
Re: Invoice and other mail templates

Howdy, is there a way to test these emails without actually purchasing anything?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Invoice and other mail templates

You can place an order on the Livetest (or your own test site) to see it w/o actually purchasing anything. Alternately, you can go to the invoice tab on an order's view page in the order admin.