Smasher9876 Posted December 10, 2003 Share Posted December 10, 2003 Anyone know how to get an invoice number? Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted December 10, 2003 Share Posted December 10, 2003 i'm not really sure what you mean by get an invoice number they are stored in your sql db if that is what you mean. we could really use more information Link to comment Share on other sites More sharing options...
Smasher9876 Posted December 11, 2003 Author Share Posted December 11, 2003 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 More sharing options...
TomThumb Posted December 11, 2003 Share Posted December 11, 2003 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 More sharing options...
Smasher9876 Posted December 11, 2003 Author Share Posted December 11, 2003 Thank you very much. One quick thing. Do you know a way to have the invioce number start at a higher number? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.