Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Code to Block Sales Number


ecgbyme

Recommended Posts

Would anyone know the code to block the sales number. I looked at a contribution to have random invoice numbers but it looked like it could be a lot of trouble. So I would like to just block the invoice number on the customers notification and use the date as an order referrence. What .php page would that be found on. Appreciate any help in this matter! B)

Link to comment
Share on other sites

Would anyone know the code to block the sales number. I looked at a contribution to have random invoice numbers but it looked like it could be a lot of trouble. So I would like to just block the invoice number on the customers notification and use the date as an order referrence. What .php page would that be found on. Appreciate any help in this matter! B)

catalog/checkout_process.php line 223

$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";

 

go thru this and the other code part that is in this page.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

catalog/checkout_process.php line 223

$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";

 

go thru this and the other code part that is in this page.

 

Satish Mantri

 

Thank you for your reply. I found the section. Should I simply place a block on this line by adding // at the beginning of this line?:

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
Link to comment
Share on other sites

Thank you for your reply. I found the section. Should I simply place a block on this line by adding // at the beginning of this line?:

 

 

Placing 2 dashes // before the line did remove the Order Number or Invoice Number from the email confirmation. Name and Date will be enough referrence to ID the orders. The order ID number still appears in the link for the customer but that's OK. Order Number still appears in admin. Thanks Satish B)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...