Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question: Invoice Number / Order Number / Client Number


myquestionone

Recommended Posts

Posted

Hi,

 

unfortunately i have problems with Invoice Number / Order Number / Client Number functions in my V.2.3. i am used to have shops with separate invoice number, order number and client number.

 

 

* i cannot see any client number at all, neither in shop backend, neither in confirmation email

* i cannot see any order number at all, neither in shop backend, neither in confirmation email

* i see only one number on the invoice, which i deem to be invoice number

 

is there any add-on to install ?

 

Regards

 

M

Signature: Apologies for my bad english - i am not a native speaker. Please forgive me. Thx and Cheers.

Posted

This add on has a little bloated code, but does show how to add the order number to several places.

http://addons.oscommerce.com/info/7761

 

I do not think there is any difference between order number and invoice number for oscommerce purposes. We treat them as the same.

Customers are assigned a number in the database, but are not shown anywhere in the backend. I am sure it could be called and displayed.

 

tim

  • 7 months later...
Posted

This looks like a nice modification. But I still miss the Order number in the costumers e-mail confirmation. How can I fix that?

/Florre

Posted

near the end of checkout_process.php

find this line:

// lets start with the email confirmation

 

Then add the code for the order number:

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

 

Mine looks like this:

// lets start with the email confirmation
$email_order = STORE_NAME . "\n" .
			 EMAIL_SEPARATOR . "\n" .
			 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
			 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
if ($order->info['comments']) {
$email_order .= tep_db_output($order->info['comments']) . "\n\n";
}
$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .
			 EMAIL_SEPARATOR . "\n" .
			 $products_ordered .
			 EMAIL_SEPARATOR . "\n";

Archived

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

×
×
  • Create New...