Forums / General Questions / How to add additional lines in customer's money order checkout confirmation email?

How to add additional lines in customer's money order checkout confirmation email?

Locked

Views: 4,628

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 May 2006, 5:00 PM
#1
hizen avatar

hizen

New Zenner

Join Date:
May 2006
Location:
UK
Posts:
31
Plugin Contributions:
0

How to add additional lines in customer's money order checkout confirmation email?

I found for the check/money order payment, the checkout confirmation eamail to the customers will look like the photo I have attached. The payment details are all gathered together. I want to add additional lines before 'Mail your payment...' and between company address lines. I have tried to alter the code in includes\languages\english\modules\payment\moneyorder.php, but nothing happened whatever I do to it. Below is the current code in this file:

define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Please make your check or money order payable to:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . '/n Your order will not ship until we receive payment.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Please make your check or money order payable to:" . "\n\n" . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nMail your payment to:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.');
?>

Is this the right file to look at? What can I do to solve the problem. I have spent all day on this...any help will be very much appreciated.

Julia

To be simple and genuine - we are naturally the same.
Review My Zen Cart Shop - **Clothing & Accessories Wholesale** , **Silk Store** , Studio Flash Lights

27 Oct 2006, 3:42 PM
#2
mteicher avatar

mteicher

New Zenner

Join Date:
Oct 2006
Location:
Mechanicsburg, PA
Posts:
33
Plugin Contributions:
0

Re: How to add additional lines in customer's money order checkout confirmation email?

Be very careful with moneyorders.php, one line goes to the checkout confirmation page, and the other is on the order confirmation email. Where do you want to insert your additional lines, there is an extra line in the configuration option, you can remove via the Payment module, that will reduce the printing of the duplicate: Make check or money orders payable to: and the next line prior to your store information is Make Payable to: Kind of funny actually.

Edit the two lines above the end of the file for the checkout confirmation, that is what I did to correct the spacing issue and incorporate additional line items.

Funny, I just posted a new topic moneyorders.php, sorry about that.

28 Oct 2006, 10:55 AM
#3
hizen avatar

hizen

New Zenner

Join Date:
May 2006
Location:
UK
Posts:
31
Plugin Contributions:
0

Re: How to add additional lines in customer's money order checkout confirmation email?

Hi mteicher, thank you for your message. I have tried your method, it works! However, i have to put right number of characters to make the sentence to another line. It is very odd that the PHP code such as n\ and html code <br /> do not work here.

To be simple and genuine - we are naturally the same.
Review My Zen Cart Shop - **Clothing & Accessories Wholesale** , **Silk Store** , Studio Flash Lights

28 Oct 2006, 10:56 AM
#4
hizen avatar

hizen

New Zenner

Join Date:
May 2006
Location:
UK
Posts:
31
Plugin Contributions:
0

Re: How to add additional lines in customer's money order checkout confirmation email?

sorry, additional line code is \n

To be simple and genuine - we are naturally the same.
Review My Zen Cart Shop - **Clothing & Accessories Wholesale** , **Silk Store** , Studio Flash Lights

30 Oct 2006, 12:30 PM
#5
mteicher avatar

mteicher

New Zenner

Join Date:
Oct 2006
Location:
Mechanicsburg, PA
Posts:
33
Plugin Contributions:
0

Re: How to add additional lines in customer's money order checkout confirmation email?

There are two sections, one for orders.php and invoice.php, I set both to identical lines, although during testing, I inserted comments to indicate which section I was working with.