Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default order confirmation email

    hello everyone,

    when a customer places an order, they recieve an email telling them what they have ordered etc.

    how do i add text to the foot of the email they recieve when they place there order,eg they have 7 day if they wish to cancel there order etc.

    i use paypal plus i have a merchant account too?

    any help would be great,

    steve

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

    Default Re: order confirmation email

    Quote Originally Posted by steve1965 View Post
    hello everyone,

    when a customer places an order, they recieve an email telling them what they have ordered etc.

    how do i add text to the foot of the email they recieve when they place there order,eg they have 7 day if they wish to cancel there order etc.

    i use paypal plus i have a merchant account too?

    any help would be great,

    steve
    St,
    Did you take time to search for this ? in the search tab or read on the bottom of this page for similar questions...

    admin panel/ tools/ developers tool kit

    1. do a search for a small portion of the wording a customer receives after they place an order.
    2. Bang, you will see the .php file to edit and place your text there at the bottom.

  3. #3
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default Re: order confirmation email

    Quote Originally Posted by haredo View Post
    St,
    Did you take time to search for this ? in the search tab or read on the bottom of this page for similar questions...

    admin panel/ tools/ developers tool kit

    1. do a search for a small portion of the wording a customer receives after they place an order.
    2. Bang, you will see the .php file to edit and place your text there at the bottom.
    i did do a search ,but i need to make sure i am altering the correct files , as i do not want to mess up ,especially with order confirmation
    emails, bin there done that,got the shirt !!

    steve

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,264
    Plugin Contributions
    3

    Default Re: order confirmation email

    (NB: There are no over-rides for the email html templates, so any edits you do are likely to be lost in future software upgrades).

    FTP a COPY of this file to your hard drive:

    in folder email\

    email_template_checkout.html

    and consider that file to be the BACKUP of the original. Re-name it to:

    email_template_checkout.bak

    ------------------------

    Now, FTP another copy of the same file to your hard drive, and this is the one you will edit.

    OPEN the file for editing using a PLAIN TEXT EDITOR, NOT a HTML editor!

    (Plain text editors include notepad, Crimson Editor, etc)

    Find - near the bottom - this section:

    HTML Code:
            <td class="payment-footer">$PAYMENT_METHOD_FOOTER</td>
          </tr>
          </table>
         </td>
        </tr>
      </table>
     </div>
    </div>
    
      <!-- Footer Section -->
    Make these edits:

    HTML Code:
            <td class="payment-footer">$PAYMENT_METHOD_FOOTER</td>
          </tr>
          </table>
         </td>
        </tr>
    
        <tr>
         <td class="returns-policy" colspan="2">Your custom text goes here...</td>
        </tr>    
        
      </table>
     </div>
    </div>
    
      <!-- Footer Section -->

    As you will see, I have given this its own style class - returns-policy - so you can now add a style to it in the header of the template. You should make the font size specific - possibly the same as that governing payment-footer


    SAVE the file, and FTP it back to the email/ folder. You will be prompted to OVERWRITE the existing file. Do so.

    If necessary, restore your backup, after re-naming it from .bak to .html
    20 years a Zencart User

  5. #5
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default Re: order confirmation email

    @schoolboy

    thankyou for your detailed explanation

    exacally what i was hoping for you are a credit to this forum

    thankyou

    steve

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

    Default Order confirmation email - attributes font

    Bonjour, all.

    I've made numerous changes to the order confirmation email, but can't figure out how to change the look of the attributes that, from the beginning, appears smaller than the product title and in italics.

    1 x Test Product
    Occasion: Anniversary
    Message on card:
    Happy...


    I just realized one thing- I use the Popup Print Invoice mod and the attributes are listed the same way. So I did try to look through classes/order.php, but my skills are not good enough to play around there and I didn't see anything in the main stylesheet.

    Any ideas, please?

    Cheers,

    Robbie
    Last edited by giftmeister; 15 Feb 2009 at 10:22 PM.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Order confirmation email - attributes font

    As with any other HTML page, look at the raw HTML source code in the actual email, and identify the CSS structures around the content you want to change, and then alter the CSS in that email template accordingly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: order confirmation email

    Thanks. I did check and still can't figure out that one part (I figured out everything else).

    The source shows the following about the text in question:

    HTML Code:
    <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">Test Product 
    <nobr><small><em> <br />
    	Occasion: Anniversary<br />
    	Message on card: <br /> Happy...<br />
    </em></small></nobr></td>
    And email_template_checkout.html has this at the top:

    HTML Code:
    .order-detail-area {background-color:#33ff66; border:1px #9a9a9a; width:542px; padding:2px; font-size:14px; }
    .product-details {font-size:14px;}
    and this further down:

    HTML Code:
    <div class="content-line"><strong>$PRODUCTS_TITLE</strong></div>
        <div class="order-detail-area">$PRODUCTS_DETAIL</div>
    I did various Searched for the terms to be extra safe and I still don't see how the attributes are appearing differently than the product name when they're part of the same division; specifically, I don't see what's causing the <small> and <em> around the attributes.

    (And the attributes appear the same way in the Popup Print Invoice mod. Just in case they're related, I again looked through those files, but don't see what it could be.)

    At this point I don't know where else to look.

    Robbie

  9. #9
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: order confirmation email

    The <small> tags are inserted when the table is built in the /includes/classes/order.php file. Be careful altering that script.
    It might be wiser to simply redefine the <small> formatting in your email template's stylesheet instead. Since that template is self-standing, altering the styling there won't affect other places on your site or other emails anyway.

    ie:
    Code:
    SMALL {font-size: 12px;}
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: order confirmation email

    That did it! Thank you!!

    To undo the italics, I used
    HTML Code:
    EM {font-style: normal}
    R

 

 

Similar Threads

  1. v151 How to Change order fields package slip/email confirmation order?
    By Marcel Wiegers in forum General Questions
    Replies: 1
    Last Post: 5 Dec 2013, 11:22 AM
  2. v151 Preview welcome email and order confirmation email
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 18 Jan 2013, 10:52 PM
  3. welcome email problem and order confirmation email problems
    By oneelios in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2010, 11:18 AM
  4. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM
  5. How do I Edit Order of Order Totals in Order Confirmation Email?
    By toussi in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Mar 2009, 08:05 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