how to add notice to confirmation email
How do I add a notice to the confirmation email? It is a temporary shipping notice that orders received between X and X will not be shipped till X. I would like to add the notice right above this line.
Products
------------------------------------------------------
thanks.
Re: how to add notice to confirmation email
Find includes\languages\english\checkout_process.php
Override it as..
includes\languages\english\your_template\checkout_process.php
Change this line:
PHP Code:
define('EMAIL_TEXT_PRODUCTS', 'Products');
to..
PHP Code:
define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X<br /><br />Products');
Re: how to add notice to confirmation email
Thanks for the quick reply. I will give it a shot.
Re: how to add notice to confirmation email
The notice added but the spacing <br/> <br/> for the Products is not working. Instead of moving Products down a space, it just ignores the <br/> and puts it at the end of the notice.
Any other idea how to get the spacing?
Thanks.
Re: how to add notice to confirmation email
Sorry, I wasn't 100% on the <BR> thing.
This might work better..
PHP Code:
define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "\n\n" . 'Products');
Re: how to add notice to confirmation email
Hmmm. nope this breaks the cart.
[FONT=Courier New]define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "\n\n" . 'Products');[/FONT]
Re: how to add notice to confirmation email
This IS the answer:
PHP Code:
define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "<br /><br />" . 'Products');
Re: how to add notice to confirmation email
Rats. Nope that breaks the cart also:
[FONT=Courier New]define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "<br /><br />" . 'Products');[/FONT]
Re: how to add notice to confirmation email
Really? I have code on my site exactly the same as that and it works fine.
Re: how to add notice to confirmation email
Yep it breaks the final confirmation page. It comes up blank. Weird huh?