Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    42
    Plugin Contributions
    0

    Default Order Confirmation - how do I add line breaks between attributes?

    Hi Zenners

    My Product details in Email Confirmations are all on one line there seems to be a </br> missing after each line (ver 1.3.0.1), i.e.
    1 x Product one
    Download 1 Download 2 Download 3

    Instead of
    1 x Product one
    Download 1
    Download 2
    Download 3

    which file to I change to put the break back in.

    Thanks

  2. #2
    Join Date
    Oct 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Order Confirmation how to fix

    Please can someone help, I just need to know where the file is
    !

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Order Confirmation how to fix

    What is wrong with your order confirmation? The file is tpl_checkout_confirmation.php

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Order Confirmation how to fix


    tpl_checkout_confirmation.php file.
    tpl_checkout_confirmation_default.php file.

  5. #5
    Join Date
    Oct 2005
    Posts
    42
    Plugin Contributions
    0

    Default Re: Order Confirmation how to fix

    Thank you for the replies!

    Here is the text (is this what you meant)
    <div class="content-line"><strong>Products</strong></div>
    <div class="order-detail-area"><table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td class="product-details" align="right" valign="top" width="30">1&nbsp;x</td><td class="product-details" valign="top">Spring into Summer (SDKJUNE06) <nobr><small><em>
    Download 1 Win Zip Format
    Download 2 Win Zip Format
    Download 3 Win Zip Format
    Download 4 Win Zip Format</em></small></nobr></td><td class="product-details-num" valign="top" align="right">$0.00</td></tr></table></div>

    When I look at text from an old confirmation (ver 1.2.7) there is a </br> after each attribute!

    The coding has changed slightly in ver 1.3.0.1 tpl_checkout_confirmation_default.php - line 131 (I am guessing this is the code to change) but where to put the </br>.

    Your help is much appreciated I know this is a small issue !

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Order Confirmation how to fix

    I have to admit, it wasn't an obvious place to find it. Even I would of had a hard time if you haven't posted these codes above.

    In your includes/classes/order.php file,

    find:


    '<nobr><small><em> '. $this->products_ordered_attributes .'</em></small></nobr></td>' .
    replace with:


    '<br /><small><em> '. $this->products_ordered_attributes .'</em></small><br /></td>' .
    Which is, I believe, what you were looking for to do.

 

 

Similar Threads

  1. Getting Rid of Order Confirmation Email Line Breaks
    By kdipaolo in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2011, 05:40 PM
  2. Can I remove the line-breaks in order confirmation email?
    By idc1 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Dec 2011, 03:19 AM
  3. Add a line to the order confirmation emails.
    By MoonCow in forum General Questions
    Replies: 4
    Last Post: 15 Jul 2009, 02:04 PM
  4. How do I add Dotted line/ space in between product listing
    By Dupermall in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Jun 2008, 04:11 PM
  5. Want to add a line between Attributes
    By gabstero in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Feb 2008, 08:44 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