phirestarter Posted August 17, 2005 Posted August 17, 2005 Hi there, I'm trying to find where to change the emails that are automatically sent in the checkout process. I've already edited the file checkout_process.php to change some of the things that i wanted, but i still need to change the email footer. I think this is : if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title."\n\n"; if ($payment_class->email_footer) { $email_order .=$payment_class->email_footer . "\n\n"; } } I think i need to change the email_footer variable. Where can i edit this? I've already looked in the administration, and the language files, and i cannot find it. Thanks for any help in advance.
Guest Posted August 17, 2005 Posted August 17, 2005 I think you may have to work with the main variables in includes/general.php
phirestarter Posted August 18, 2005 Author Posted August 18, 2005 I think you may have to work with the main variables in includes/general.php <{POST_SNAPBACK}> Sorry, but i still can't find where i should change the text for "email_footer". Could you be more specific?
♥Vger Posted August 18, 2005 Posted August 18, 2005 checkout_process.php(254): if ($payment_class->email_footer) { checkout_process.php(255): $email_order .= $payment_class->email_footer . "\n\n"; includes\languages\english\modules\payment\moneyorder.php(15): define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); includes\languages\espanol\modules\payment\moneyorder.php(15): define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Pagadero a: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nEnviar a\n" . STORE_NAME_ADDRESS . "\n\n" . 'Su pedido se enviar? en cuanto se reciba el pago.'); includes\languages\german\modules\payment\moneyorder.php(15): define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Zahlbar an: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nAdressat:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Ihre Bestellung wir nicht versandt, bis wird das Geld erhalten haben!'); includes\modules\payment\moneyorder.php(32): $this->email_footer = MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER; Get yourself a good plain text editor like Text Pad and use the Find In Files feature and you won't have this problem again. Vger
MissyB19 Posted April 28, 2006 Posted April 28, 2006 Vger, is the file to be modified - includes/general.js or includes/ general.php'cos i see the former.. but not general.php. scared shitless to modify anything now.. trying to remove the last sentence that appears on all my confirmation email now e.g. Payment Method ------------------------------------------------------ Reseller MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER
Recommended Posts
Archived
This topic is now archived and is closed to further replies.