Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

eMail Text's


Guest

Recommended Posts

Posted

I llike to change the email text of mails that will be sent to users after an order or when order status changes. Does anybody know where I have to do this???

 

Thank you for your help

Posted

catelog/checkout_process.php

 

 

    $products_ordered .= '*Item Name: ' . $order->products[$i]['name'] . "n" . '  Model: ' . $order->products[$i]['model'] . "n" . '  Item Amount: ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . "n" . '      Qauntity: ' . $order->products[$i]['qty'] . "n" . '  Item Type/Attributes: ' . $products_ordered_attributes . "nnn";

 }



// lets start with the email confirmation

 $email_order = EMAIL_TEXT_CONFIRM . ' ' . $order->customer['firstname'] . ' ' . $order->customer['lastname'] . ' ('. $order->customer['email_address'] . ')' . "n" .

                EMAIL_TEXT_MADE_ORDER . STORE_NAME . "nn" . 

                EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "nn" . 

                EMAIL_TEXT_INVOICE_URL . "n" . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "nn" . 

                EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "nnn";

 if ($order->info['comments']) {

   $email_order .= 'Comments:' . "n" . $order->info['comments'] . "nnn";

 }

 $email_order .= EMAIL_TEXT_PRODUCTS . "n" . 

                 EMAIL_SEPARATOR . "n" . 

                 $products_ordered . 

                 EMAIL_SEPARATOR . "n";

 

mine now looks like that up younder. If you want to go to my site and do a test buy, just get a free download. it'll say '$0.00' by it. usually in mangas and such, you'll get an email showing you the way it looks

 

http://www.animeglore.com

 

as for order updates, hmm, i gotta hunt for that one. i would imagine it's in the admin area. i'll look and get back to you.

 

oh, if you change any of your code to match mine, REMEMBER, you have to go into catelog/includes/languages/english/checkout_process.php and DEFINE those new thing parts.

Archived

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

×
×
  • Create New...