Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    I would like to know how to add the product description to the admin confirmation email.

    Currently my template looks like this:
    Click image for larger version. 

Name:	Screen Shot 2013-11-07 at 2.35.56 PM.jpg 
Views:	197 
Size:	23.5 KB 
ID:	13319

    I would like to include the description so I can see exactly the terms of their order. I put in custom info in the description.
    I am using a custom template.

    Thanks!
    Kim

  2. #2
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Hi there. I'm still looking for help with this. Is there maybe a plugin I could us? Thanks in advance!

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

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Last edited by stevesh; 23 Nov 2013 at 08:48 PM.

  4. #4
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    I tried adding this, but it failed:

    Code:
    '<td class="product-details" valign="top">' . nl2br($this->products[$i]['name']) . ($this->products[$i]['model'] != '' ? ' (' . nl2br($this->products[$i]['model']) . ') ' : '') . "\n" .
          zen_clean_html(zen_get_products_description(zen_get_prid($this->products[$i]['id']))) . "\n" .
          '<nobr>' .

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

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Sorry, I didn't notice how old that thread is. Post #13 has more detailed instructions, but the line numbers don't coincide with the 1.5.1 version of that file, so I don't know if it will work with the current version or not. I'll give it a try when I get a minute.

  6. #6
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Quote Originally Posted by stevesh View Post
    Sorry, I didn't notice how old that thread is. Post #13 has more detailed instructions, but the line numbers don't coincide with the 1.5.1 version of that file, so I don't know if it will work with the current version or not. I'll give it a try when I get a minute.
    Great thank you so much!!

  7. #7
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Hi Stevesh, Any luck?

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

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    This adds the product description to both the customer and admin order confirmation emails, the invoice and packing slip.

    Run this in the Install SQL Patches in Admin - Tools:

    alter table orders_products add column products_description text NOT NULL;

    Then unzip the attached file, change the 'admin' to the name of your admin folder and drag and drop both folders to the root directory of your store.

    All the files involved in this are core files and can't be overridden. If you have already made changes to any of these files, you'll have to merge your changes with mine.

    For some reason, the original author of these edits decided to replace the model number with the product description, so you won't have that number in your emails, invoices or packing slips. I'm going to take another run at this to see if I'm coder enough to restore the model numbers.

    description.zip

  9. #9
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Quote Originally Posted by stevesh View Post
    This adds the product description to both the customer and admin order confirmation emails, the invoice and packing slip.

    Run this in the Install SQL Patches in Admin - Tools:

    alter table orders_products add column products_description text NOT NULL;

    Then unzip the attached file, change the 'admin' to the name of your admin folder and drag and drop both folders to the root directory of your store.

    All the files involved in this are core files and can't be overridden. If you have already made changes to any of these files, you'll have to merge your changes with mine.

    For some reason, the original author of these edits decided to replace the model number with the product description, so you won't have that number in your emails, invoices or packing slips. I'm going to take another run at this to see if I'm coder enough to restore the model numbers.

    description.zip
    Hi Stevesh,

    I followed everything here, but it only places text at the top, it doesn't include the description. Here's what the invoice looks like:Click image for larger version. 

Name:	Screen Shot 2014-06-27 at 1.07.05 PM.jpg 
Views:	73 
Size:	16.6 KB 
ID:	14214

  10. #10
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: v151 - Add Product Description to Admin [NEW ORDER] Confirmation Email

    Ok I got an order that came through with the description (YAY!!) but the formatting is a little off. Could I fix that somewhere?

 

 

Similar Threads

  1. v151 Add model number to order confirmation emails
    By flax in forum General Questions
    Replies: 1
    Last Post: 12 Mar 2015, 02:55 PM
  2. Replies: 31
    Last Post: 7 Feb 2015, 03:36 AM
  3. Need to add product description on email to customer and admin
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2010, 10:20 PM
  4. add product url in order confirmation email
    By alvalong in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Jun 2010, 07:28 AM
  5. How to override header_php.php or how to add a new field to order confirmation email
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jan 2008, 06:01 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR