Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Layout of attributes on Email Confirmation

    I'd like to adjust a small thing. Here's an example of how my Confirmation Email looks (the same as Cart Contents page) with a text attribute that appears on each order:

    * Message on card: - You're an inspiration to us all! [SCR]<br>[/SCR]May your love continue to grow.

    Love,

    Uncle Tommy

    I'd like to put a line break so that it looks like this:

    * Message on card: -
    You're an inspiration to us all! May your love continue to grow.

    Love,

    Uncle Tommy

    (The point is that I forward some emails to a drop-shipper and A) want to make it as easy as possible for him to copy and paste and B) be certain the message layout is correct.) If this is possible, I imagine other attributes will also have the line break, which is fine because it's better than now.

    Cheers,

    Robbie

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Layout of attributes on Email Confirmation

    Quote Originally Posted by giftmeister View Post
    I'd like to adjust a small thing. Here's an example of how my Confirmation Email looks (the same as Cart Contents page) with a text attribute that appears on each order:

    * Message on card: - You're an inspiration to us all! [scr]<br>[/scr]May your love continue to grow.

    Love,

    Uncle Tommy

    I'd like to put a line break so that it looks like this:

    * Message on card: -
    You're an inspiration to us all! May your love continue to grow.

    Love,

    Uncle Tommy

    (The point is that I forward some emails to a drop-shipper and A) want to make it as easy as possible for him to copy and paste and B) be certain the message layout is correct.) If this is possible, I imagine other attributes will also have the line break, which is fine because it's better than now.

    Cheers,

    Robbie
    Gi,
    Try adding this to:
    Admin panel/ catalog/ option name manager

    1. edit the option name below and add the <br /> at the end.

    Message on card: - <br />

  3. #3
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Layout of attributes on Email Confirmation

    Almost- that works on the Cart Contents page, but surprisingly not on the Email Confirmation. And I thought they were the same.

    Can it be something in includes/classes/order.php? I thought of putting a <br /> somewhere here, but I'm not familiar enough.

    PHP Code:
      $this->products[$index]['attributes'][$subindex] = array('option' => $attributes->fields['products_options'],
                                                                       
    'value' => $attributes->fields['products_options_values'],
                                                                       
    'prefix' => $attributes->fields['price_prefix'],
                                                                       
    'price' => $attributes->fields['options_values_price']); 
    Thanks,

    R

  4. #4
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Layout of attributes on Email Confirmation

    Now it works! I had to set the email to HTML (I prefered text).

    And I thought it was something obscure in the code...Thanks a bunch!

    R

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Layout of attributes on Email Confirmation

    Gi,
    Thanks for the update, Great to know for me and fellow Zenners on this fix...

 

 

Similar Threads

  1. Confirmation email layout oddity
    By tsrplatelayer in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 25 May 2011, 08:28 PM
  2. order confirmation email layout
    By piker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jan 2010, 02:03 AM
  3. email layout - attributes
    By silvito in forum General Questions
    Replies: 11
    Last Post: 2 Nov 2009, 10:06 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. Email confirmation problem - layout & linebreaks
    By gustafr in forum General Questions
    Replies: 1
    Last Post: 16 Sep 2006, 04:47 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