Re: order confirmation email
Quote:
Originally Posted by
steve1965
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
- do a search for a small portion of the wording a customer receives after they place an order.
- Bang, you will see the .php file to edit and place your text there at the bottom.
Re: order confirmation email
Quote:
Originally Posted by
haredo
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
- do a search for a small portion of the wording a customer receives after they place an order.
- 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
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
Re: order confirmation email
@schoolboy
thankyou for your detailed explanation
exacally what i was hoping for :bigups: you are a credit to this forum
thankyou :clap:
steve
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
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.
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 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
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;}
Re: order confirmation email
That did it! Thank you!! :clap:
To undo the italics, I used
HTML Code:
EM {font-style: normal}
R