Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Adding Manufacture to Order Confirmation Email

    I my a ZenNiewbie and I need to add the Manufactures Name of each item ordered in the Order Confirmation eMail. Can someone tell me where to find out to do this?
    Beau

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Adding Manufacture to Order Confirmation Email

    The order.php class builds the line-item output during the create-add-products() method. You'll have to lookup the manufacturer for each product and then add it as part of that output. Then the send-order-email() method will include that info when it sends the actual emails. You'll definitely need to put on your programmer's hat to do it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Adding Manufacture to Order Confirmation Email

    Any chance you know the names of the methods or the file names they're in?
    Beau

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Adding Manufacture to Order Confirmation Email

    Yes, I included them in my previous post.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5

    Default Re: Adding Manufacture to Order Confirmation Email

    Found what I need to change but as a newbie to all this how do I get the products Manufactures name? I'm attempting to change the method create_add_products at the "// build output for email notification" section.

    Can anyone help?
    Beau

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Adding Manufacture to Order Confirmation Email

    You could use the zen_get_products_manufacturers_name($product_id) function to look it up.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7

    Default Re: Adding Manufacture to Order Confirmation Email

    Thanks for the help, that was just what I needed. For those who come later here is what I had to add

    zen_get_products_manufacturers_name($this->products[$i]['id'])

    Beau

  8. #8
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Adding Manufacture to Order Confirmation Email

    Could you tell me exactly where you are putting this and everything you put in to make this work. I have several customers who would like this in their store, but for some reason I can't get it to work.

    Thank you very much for your help

  9. #9
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Adding Manufacture to Order Confirmation Email

    I'd like to do this too...any chance of some kind soul giving a step-by-step? My programmer's hat is missing a few top levels LOL
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  10. #10
    Join Date
    Jun 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: Adding Manufacture to Order Confirmation Email

    hello.. hope somebody can help me with this..
    see attached file..


    thanks!!
    Attached Images Attached Images  

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding Data To Order Confirmation Email
    By mikestaps in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Aug 2012, 10:58 PM
  2. Adding Information to Order Confirmation Email
    By solarguy in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2010, 04:52 AM
  3. Adding a part number to order email confirmation
    By PureEffort in forum General Questions
    Replies: 8
    Last Post: 7 Oct 2010, 06:02 AM
  4. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM
  5. Adding General Comments to Order Confirmation Email
    By sirluck in forum General Questions
    Replies: 3
    Last Post: 25 May 2008, 10:14 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