Zen Cart Logo
Forums / General Questions / how to add notice to confirmation email

how to add notice to confirmation email

Locked

Views: 2,239

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
29 May 2008, 4:25 PM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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.

29 May 2008, 4:57 PM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: how to add notice to confirmation email

Find includes\languages\english\checkout_process.php

Override it as..

includes\languages\englishyour_template\checkout_process.php

Change this line:

define('EMAIL_TEXT_PRODUCTS', 'Products');

to..

define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X<br /><br />Products');
29 May 2008, 5:24 PM
#3
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: how to add notice to confirmation email

Thanks for the quick reply. I will give it a shot.

29 May 2008, 5:35 PM
#4
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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.

29 May 2008, 5:41 PM
#5
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: how to add notice to confirmation email

Sorry, I wasn't 100% on the <BR> thing.

This might work better..

define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "\n\n" . 'Products');
29 May 2008, 5:57 PM
#6
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: how to add notice to confirmation email

Hmmm. nope this breaks the cart.

define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "\n\n" . 'Products');

29 May 2008, 6:03 PM
#7
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: how to add notice to confirmation email

This IS the answer:

define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "<br /><br />" . 'Products');
29 May 2008, 6:06 PM
#8
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: how to add notice to confirmation email

Rats. Nope that breaks the cart also:

define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "<br /><br />" . 'Products');

29 May 2008, 6:12 PM
#9
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: how to add notice to confirmation email

Really? I have code on my site exactly the same as that and it works fine.

29 May 2008, 6:14 PM
#10
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: how to add notice to confirmation email

Yep it breaks the final confirmation page. It comes up blank. Weird huh?

29 May 2008, 7:24 PM
#11
dwells avatar

dwells

Zen Follower

Join Date:
Nov 2007
Location:
Burney, CA. USA
Posts:
130
Plugin Contributions:
2

Re: how to add notice to confirmation email

The ```
<br /><br />


Just my two cents.
29 May 2008, 8:07 PM
#12
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: how to add notice to confirmation email

Hi,

Yep when I use this code, the final confirmation page does not load correctly.

```
define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X' . "<br /><br />" . 'Products');

 
But
 
When* use the code below, it works fine (except it doesn't have the spaces and the Products line).*
** 
```
define('EMAIL_TEXT_PRODUCTS', 'Orders received between X and X will not be shipped till X');
```
 
thanks