Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Email Order Acknowledgements: Attributes on separate lines

    My copy of the order confirmation emails show all the attributes for an item all on one line. Since I sell an package containing 12 items, and give the customer the choice of colors for each, I have twelve color attributes. The line gets way to long in the email and extends well beyond the normal right margin.

    I would like to have the attributes appear on separate lines below the item description like this:

    1x Non-Slip Hospital Slipper Socks 12-pack (TSSS-12FS) $52.80
    Color first pair Black
    Color second pair Black
    Color third pair Red
    etc. etc.

    It seems all I need is a <BR> coded in the right place (or possibly <BR> &nbsp;&nbsp;)

    Anybody have an idea where this would be done?

    Thanks, Ron

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    The following may be related.
    Order Confirmation how to fix

    .
    A New Starter again

  3. #3
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    I was typing a reply to you earlier and all of a sudden I lost the screen when I bumped the keyboard. If you get two replies I apologize.

    Thank you for pointing me to the other thread discussing attribs being listed in in a single line in the order confirmation emails.

    The original poster expressed exactly the same problem I was having and wanted to have the attribs appear on separate lines (that's what I want, too).

    Someone wrote with a solution and the original poster said that fixed it.

    I tried the same solution but only saw a partial correction of the problem. The attributes still appear as a single string, but now, instead of extending beyond the normal width of the email, they word-wrap and stay within the borders of the email.

    That is a big improvement, but not quite what I am shooting for.

    I studied the code in includes/classes/order.php and can see that it would be difficult to separate the attributes since the programmers had chosen to combine all attributes into a single string much earlier in the code.

    I can live with the fix as it stands now, but hopefully someone will come up with a fix in the future. (I don't have the programming skills to do it). I'm using v1.3.02 and just got my site online. Perhaps when I upgrade to V1.3.5 this problem will have already been addressed.

    I appreciate your pointing me to the relevant posts. At least now, if I decide to persue the fix further I have a starting point. I would never have thought to look in the classes files!

    Thanks again,
    Ron

  4. #4
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    Has anyone found a fix for this? I'm having the same issue with no luck. v1.3.02.

    Has this been fixed in v1.3.5?

  5. #5
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    Please refer to the below topic again, I had updated the info.
    Order Confirmation how to fix

    Hope it helps.

    .
    A New Starter again

  6. #6
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    THANK YOU SO MUCH!

    I was up half the night trying to figure this out.. I can't thank you enough. :)

  7. #7
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    You are welcome!

    And hope that the change don't create another problem.

    .
    A New Starter again

  8. #8
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    Quote Originally Posted by seethrou View Post
    And hope that the change don't create another problem.
    Sorry, it need update again.

    Please follow the other thread for further update.
    A New Starter again

  9. #9
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    No problem! Thanks again! :)

  10. #10
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Email Order Acknowledgements: Attributes on separate lines

    SEETHROU

    Thanks for the updates. The latest update fixes the problem and provides for the html version of the order confirmation emails to list the product attributes on separate lines.

    To help those reading so they don't have to jump back and forth between topics to get the code, here is SEETHROU's final code to fix this problem:

    It replaces the line in includes/classes/order.php around line 809 that reads:
    $this->products_ordered_attributes .= "\n\t" . $attributes_values->fields['products_options_name'] . ' ' . $attributes_values->fields['products_options_values_name'];
    Code:
    $this->products_ordered_attributes .= "\n\t" . '<br />' . $attributes_values->fields['products_options_name'] . ' ' . zen_decode_specialchars($this->products[$i]['attributes'][$j]['value']);
    Again, Thanks to SEETHROU for this fix!
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Quebec Taxes: showing on three separate lines
    By branninggroup in forum Bug Reports
    Replies: 1
    Last Post: 29 Nov 2012, 04:48 AM
  2. How Do I Remove Extra Lines from Order Confirmation Email?
    By powrwrap in forum General Questions
    Replies: 7
    Last Post: 22 May 2011, 11:09 PM
  3. I need to separate these two lines so I can apply css.
    By member in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Apr 2011, 02:19 AM
  4. Separate Nav Category Menu into multiple lines?
    By zkitten in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jun 2009, 12:02 PM
  5. Replies: 4
    Last Post: 30 Oct 2006, 01:30 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