Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to change email_footer


phirestarter

Recommended Posts

Posted

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.

Posted

I think you may have to work with the main variables in includes/general.php

Posted

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

  • 8 months later...
Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...