Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Auto responders - attaching a file or pdf?
Next Page
Author « Topic »
Page: of 2

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/08/2020 :  16:23:47  
Hi, just a curious question. We are considering sending out a free report when people order from
our website. Is there a way to automatically have a .pdf attached to the "thank you for your order"
response that goes out?

Thanks in advance...

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/08/2020 :  16:47:30  
The best thing is to load that pdg on your server, and then edit your email (in the admin) so it has a link to that PDF and customers can just click the link and open in their browser.

David

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/08/2020 :  19:34:47  
hi David, are there specific instructions somewhere on how to do that?

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/08/2020 :  19:57:42  
It should be simple really.
Transfer the PDF file to your server and then open your browser to www.yoursite.com/thepdffile.pdf and be sure the pdf file opens in your browser.

Then in your admin, go to store admin>>email messages >>edit email next to - Email Headers / Footers:

Then (in code view if you are using an html editor) somewhere after %emailmessage% add the following <a href="www.yoursite.com/thepdffile.pdf">Click here for your free PDF file</a>

That's about it. Place a test order so you can see what the email looks like, and be sure the link works.

David

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/09/2020 :  08:34:53  
thanks David I'll check it out... dano

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  12:02:52  
hey dbdave, if your around, does this look correct for attaching like a free report
in the admin/email message/header/footers section? also is there a way I can test this without
actually charging $$$ from our paypal?

%emailmessage%<br /><a href="www.safetyproshop.com/freesafetyreports.pdf">Click here for your free PDF file</a>

Edited by - dano2 on 04/13/2020 12:06:10

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  12:19:17  
Hi, yes that should do it. I do see the pdf file at that address, so it should work.
You can go into your payment providers and enable "email" as a payment option, them immediately place a test order, then, disable "email" as a payment provider.

You can also just enter an order in your admin, that has your email address, and then use the "resend" feature to get a copy of the email receipt.

As a matter of fact, you can just to any of your orders in your store and resend the store owners email to get a look at that.

David

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  12:40:11  
Hi David, I just tried tested it out, I get the text "click here for your free pdf file" but it
doesnt open, any thoughts? perhaps I didn't do the html correct?

Edited by - dano2 on 04/13/2020 12:55:06

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  12:56:41  
What the address as it shows in the email? When you hover over the link, does the address show in your email client?
When you click the link in the email, does your browser open and attempt to open the page? If so, what is the address in the browser window?

David

Edited by - dbdave on 04/13/2020 12:57:43

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  13:08:46  
its wierd it changes color when I hover over it but doesnt show any address and doesnt open. I use Yahoo. I forwarded the email to my
wifes email on Outlook but it just shows as text.

Here is what my html looks like in the admin email messages,

%emailmessage%<br /><a href="https://www.safetyproshop.com/freesafetyreports.pdf">Click here for your free PDF file</a>

Edited by - dano2 on 04/13/2020 13:17:39

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  13:20:57  
Please check your admin (Main settings>Email Format: ) to be sure that HTML emails are turned on.

If it is not, then turn it one, and try the email again.

If it is, then forward the email to me at david@jax maxs.com without the space there.

Thanks,
David

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  13:31:00  
yep its showing as "html format emails".

Ill forward that email to you...

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  13:36:20  
hmm your email came back undeliverable..

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  14:01:22  
I see I wrote it wrong... sorry...

Make sure it's right - DavidATjaxmacs.com

David

Edited by - dbdave on 04/13/2020 14:07:26

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  14:44:25  
no worries, i just re-sent it

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  14:47:08  
Hi, I see it. I'm afraid that didn't help determine the issue.
Are you using an HTML editor in your admin for editing those email?
If so, you need to create the link in "source" view.

Can you paste here what you have (complete) for the email message in the admin?

David

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  14:56:32  
so in the main Admin Settings, under Email Settings I have
Email Format: HTML Format Emails.

Then under Admin Email Messages: here is the code I have:

%emailmessage%<br /><a href="https://www.safetyproshop.com/freesafetyreports.pdf">Click here for your free PDF file</a>

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  15:01:12  
when you say Are you using an HTML editor in your admin for editing those email?
If so, you need to create the link in "source" view.

what is the html editor I should/would use? and how do i create the link in source view?

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/13/2020 :  16:27:55  
Hi dano2

Have you set a HTML editor for use in the ECT admin? The one to use is Froala. It will make life much easier.

If you want the built in Froala HTML editor for your admin pages then add this to your includes.php

$htmleditor="froala";

Then you will need to download the Froala files separately from the downloads page and upload them as per the instructions there. The files can be downloaded from here
https://www.ecommercetemplates.com/free_downloads.asp#htmleditor


Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file

Edited by - 1818charlie on 04/13/2020 16:29:52

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/13/2020 :  16:49:58  
Hi Steve, whoa, didn't think there would be all this to setup in order
to have a pdf attachment. I'll see if I can try and figure this out.

Is there another easier way to just attach a simple .pdf to the email
confirmation that goes out?

dbdave
ECT Moderator

USA
10468 Posts

Posted - 04/13/2020 :  16:57:34  
Hi, Dano, if you want to send me a login and password for your admin, I'll get in there and see what's up.
You can just send to that same email.

You would probably know if you had installed an HTML editor.

Thanks,
David
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000