Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order Process Email to Customer


calvintage

Recommended Posts

Posted

When a customer orders, they get an automatic email. There is a line and link on there I don't want them to see. It's the Detailed Invoice link.

How do I delete the line?

 

I've taken it out of catalog/includes/languages/english/checkout_process.php and

catalog/admin/includes/languages/english/orders.php

but that didn't help.

Posted

You can comment or remove the following line in checkout_process.php:

 

 ? ? ? ? ? ? ? ? EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

 

The line you refer to is one of these:

 

                  EMAIL_SEPARATOR . "\n" .

 

 

 

Matti

Posted

So, "//" will delete the line?

 

//EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n"

Posted

That will comment the line - it won't be parsed, but remains in case you wish to change it back :P

 

Matti

Posted
That will comment the line - it won't be parsed, but remains in case you wish to change it back  :P

 

Matti

 

 

Is checkout_process.php the right place to put in a line that indicates the order_id (order number)? And can I also have it put in the subject line?

 

I can just follow the syntax format of all those other EMAIL_TEXT_whatever constants. But where are they defined....

 

and where is the subject set? I believe $order_id is a variable that can be referenced in checkout_process.php, correct?

Posted
Is checkout_process.php the right place to put in a line that indicates the order_id (order number)? And can I also have it put in the subject line?

 

I can just follow the syntax format of all those other EMAIL_TEXT_whatever constants. But where are they defined....

 

and where is the subject set? I believe $order_id is a variable that can be referenced in checkout_process.php, correct?

 

Sorry guys, I see now that the order number was already in there, just not very visible (the formatting of this message is ugly, but I can fix that).

 

So the remaining question is just how to put the order_id in the subject line. After that I'll have to learn how to have it show up in Orders in Admin CPL.

Archived

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

×
×
  • Create New...