Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Invoice Help


Smasher9876

Recommended Posts

Like when when the email is sent out to the customer saying that they have bought something. On there i would like them to have an invioce number so incase if they need something change they can tell me their invioce number and ill change their order.

Link to comment
Share on other sites

If you want it to appear the confirmation email Subject line, do this.

 

In /catalog/checkout_process.php is the code that send the customer a confirmation email. It includes the invoice number.

 

Find

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

Replace with

  tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT . $insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

In /catalog/includes/languages/english/checkout_process.php is the static text sent in the email.

 

Find

define('EMAIL_TEXT_SUBJECT', 'Order Process');

 

Replace with

define('EMAIL_TEXT_SUBJECT', Invoice Number : ');

while (!succeed) {try()};

 

GMT -6:00

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...