Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Process order email sent to customer


jen_jl

Recommended Posts

Below is the text from the email that was sent to me after I did a test order.

 

How can I change this text? Specifically, I want to remove the payment method at the bottom.

 

------------------------------------------------------

mystore.com

------------------------------------------------------

Order Number: 1

Detailed Invoice: http://www.mystore.com/catalog/account_his...hp?order_id=200

Date Ordered: Monday 30 June, 2003

 

Products

------------------------------------------------------

1 x test (11) = $0.10

------------------------------------------------------

Sub-Total: $0.10

United Parcel Service (1 x 1lbs) (Ground): $4.61

NC sales tax: $0.35

Total: $5.06

 

Delivery Address

------------------------------------------------------

Jennifer Livingston

1 Elm Street

Canton, North Carolina 28716

United States

 

 

Billing Address

------------------------------------------------------

Jennifer Livingston

181 Whispering Drive

Charlotte, North Carolina 28270

United States

 

 

Payment Method

------------------------------------------------------

Linkpoint Basic

 

------------------------------------------------------

Link to comment
Share on other sites

Go into catalog/checkout_process.php

 

find and remove

 

if (is_object($$payment)) {

$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "n" .

EMAIL_SEPARATOR . "n";

$payment_class = $$payment;

$email_order .= $payment_class->title . "nn";

if ($payment_class->email_footer) {

$email_order .= $payment_class->email_footer . "nn";

}

}

 

Further info at: http://wiki.oscommerce.com/helpHowtoChangeEmailSent

Link to comment
Share on other sites

Just to follow on, how would I change the "Date Ordered" printed in the email order to reflect my time zone.

 

I've gone through and added a time zone fix to the application_top files and changed every now() and time() throughout the website but this doesn't seem to have had any effect on the email that is sent.

 

Any clues?

Link to comment
Share on other sites

Change line 227 (may be different line in your copy) of checkout_process.php:

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

Good luck,

Matt

Link to comment
Share on other sites

You're a rocker iiinetworks! I works! Woo-hoo!

 

Once I get the whole thing up and running, I'll post a link to it.

 

Thanks once again!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...