Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Editing order confirmation email

    I searched the forum but didn't quite find what I'm looking for.

    I have several attributes for products, and I would like the order confirmation emails to include a : after the attribute name.

    Before:
    1 xMall Pass for WAHMs
    Mall Pass Quarter Jan-Mar 2008 Mall Pass
    Discount code and coupon amount xyz
    Store name My Store
    Store URL http://mystore.com
    After:
    1 xMall Pass for WAHMs
    Mall Pass Quarter: Jan-Mar 2008 Mall Pass
    Discount code and coupon amount: xyz
    Store name: My Store
    Store URL: http://mystore.com
    Thanks!

  2. #2
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Editing order confirmation email

    Bump. I use the confirmation email to copy/paste a lot of info, so this would make it easier to read for me. Thanks!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing order confirmation email

    You would need to edit the order class for how the attributes are managed on the emails ...

    Around line 844 you will find:
    PHP Code:
              $this->products_ordered_attributes .= "\n\t" $attributes_values->fields['products_options_name'] . ' ' zen_decode_specialchars($this->products[$i]['attributes'][$j]['value']); 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Editing order confirmation email

    ? Is there supposed to be a "replace with" code? I have the same exact line... Where would I add a colon?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing order confirmation email

    Where would you like the colon in your emails?

    If you want it after the products_options_name ... then I would add it there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Editing order confirmation email

    [FONT=Courier New]So is it going to look like this? I don't know PHP too well, especially with all the brackets and stuff... [/FONT]

    [FONT=Courier New]
    PHP Code:
    $this->products_ordered_attributes .= "\n\t" $attributes_values->fields['products_options_name'] . ': ' zen_decode_specialchars($this->products[$i]['attributes'][$j]['value']); 
    [/FONT]

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing order confirmation email

    Very good ... you are learning well ...

    I tend to like you to struggle a bit so that next time you know a little bit more than you did the last time ... others say I have an evil streak as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Order confirmation email editing
    By Daviator in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 20 Apr 2012, 08:51 PM
  2. Editing email confirmation .
    By Steeveef in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jun 2010, 05:11 PM
  3. Editing Order Confirmation Email
    By JGiacchi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2009, 11:16 PM
  4. Editing The Layout Of The Order Confirmation Email
    By steve_ringuk in forum General Questions
    Replies: 1
    Last Post: 7 Feb 2008, 05:23 PM
  5. Editing email order confirmation
    By chronister in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Nov 2007, 03:43 AM

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