[Checkout] email form (link) not compatible with most email clients

ihadmeavision

Joined: 2007-03-13
Posts: 6
Posted: Tue, 2009-03-03 20:42

Hi all,

I can't say enough about the Checkout modules, thank you very much for making them.

I have the latest of everything (just upgraded to Gallery 2.3 and I updated the Checkout modules to the latest in the repository. Everything works great except one little thing I hope someone (alecmyers?) can help me with. I'm only concerned with the download options as I don't provide prints. In the older Checkout, when completing the paypal payment, there was a link in paypal which said, click to go back to the website and download your file. It's not there in the new version but I don't mind as people get an email with the download link. I found out that the email people get is actually a form with a submit button and not a straight forward link/url. Most email clients can't understand it. It works in Outlook but not much else from my limited testing.

So my question is, can there be a way to make the email generated to the client have a regular old fashioned link to the download page? Please help. Thanks.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2009-03-03 21:23

Edit checkoutdownload/templates/email/download.tpl

Follow the instructions in the header *carefully*.

Replace the <form>...</form> section with

{g->url arg1="view=checkoutdownload.Download" arg2="transactionId=`$transactionId`" arg3="verify1=`$block.checkoutDownload.verify1`" arg4="verify2=`$block.checkoutDownload.verify2`" forceFullUrl=true forceSessionId=false htmlEntities=false}

Also, please don't ask the same question in multiple threads. It gets kind of annoying, after a while.

 
ihadmeavision

Joined: 2007-03-13
Posts: 6
Posted: Tue, 2009-03-03 22:26

You sir, rock! Thank you so much!!

Sorry about the double posting.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2009-03-03 22:29

[qutoe]You sir, rock!

If only. But kind of you to say.

 
ausyonline

Joined: 2007-03-21
Posts: 3
Posted: Wed, 2009-09-02 05:03

Hi I have followed these instructions and tried both editing download.tpl in the local directory and directly but I still get an email from the site with buttons in the form rather than direct download links and the buttons simply do not work for any of my customers or myself.

Are you able to advise in detail what the entire download.tpl file should look like.

Cheers

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2009-09-02 12:25

Not really, as I'm on vacation. You may need to clear your template cache to see the results of any changes, though.

 
ausyonline

Joined: 2007-03-21
Posts: 3
Posted: Thu, 2009-09-03 02:08

looks like the clearing of the cache has changed the email format - will do some more testing cheers

 
losREDBULLos

Joined: 2009-01-21
Posts: 42
Posted: Wed, 2010-02-03 10:11

OK, now i have a Button and a link. Where can i find template for the status of order? There is the same problem

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2010-02-03 10:29

modules/checkout/templates/email/{confirm.tpl,notify.tpl,etc}