Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Order Confirmation - PDF Attachment

    Hi

    I have tried to find out through this forum and Google how to add a static attachment to the Zen Cart Order Confirmation Email with no luck, so I'll post this as a question here!

    The attachment in question is a PDF file, which will be identical for all customers. It has to follow the order confirmation as a attachment, not a link, due to consumer law requirements in my country.

    Ideally, the form should be pre-populated with order number, date etc, but that is a little beyond my knowledge at this moment, so that will have to be done later on!

    Anyone have any idea how to accomplish this? Answers will be much apprechiated thank you :)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Order Confirmation - PDF Attachment

    Order confirmation emails are constructed in /includes/orders.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Order Confirmation - PDF Attachment

    Thank you for your answer, which is 100% unhelpful and also incorrect - orders.php is located in /admin/ (as in your admin folder) not in /includes/, at least in a "vanilla" install of 1.3.9h , and your reply does not answer my question which is how to add an attachment to the email... Even just a hint or a pointer would be good, as I am absolutely not a programmer nor a php expert! I do know how to add a LINK to the PDF file, but due to local consumer laws, it has to be in the form of an attachment, not a link. Anyone else have a suggestion?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Order Confirmation - PDF Attachment

    There's no mod I'm aware of that will do that. If the copy you need to include can appear in the body of the order confirmation email rather than as an attachment, you might find some ideas here:

    http://www.zen-cart.com/downloads.php?do=file&id=683

    No need to insult me if this isn't exactly what you're looking for.

  5. #5
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Order Confirmation - PDF Attachment

    It was not meant as a insult, it was a simple statement of facts. The file location is not where you said, and your answer was also not helpful. Sorry if you took it as a insult, and thanks for taking time to reply :)

 

 

Similar Threads

  1. v151 pdf attachment to customers order
    By 100asa in forum Customization from the Admin
    Replies: 1
    Last Post: 7 Dec 2013, 11:34 AM
  2. v150 PDF attachment on orders
    By kjetilhansen in forum General Questions
    Replies: 0
    Last Post: 1 Jun 2013, 12:32 PM
  3. v139h Attach invoice as PDF to order confirmation email
    By dmagic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 15 Mar 2012, 08:43 AM
  4. newsletter: PDF attachment
    By broeder in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2009, 06:55 PM
  5. PDF attachment uploads for User accounts
    By ZCguy in forum Basic Configuration
    Replies: 0
    Last Post: 31 Mar 2008, 09:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg