calvintage Posted August 10, 2005 Posted August 10, 2005 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.
Guest Posted August 10, 2005 Posted August 10, 2005 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
calvintage Posted August 10, 2005 Author Posted August 10, 2005 So, "//" will delete the line? //EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n"
Guest Posted August 12, 2005 Posted August 12, 2005 That will comment the line - it won't be parsed, but remains in case you wish to change it back :P Matti
raddygast Posted August 13, 2005 Posted August 13, 2005 That will comment the line - it won't be parsed, but remains in case you wish to change it back :P Matti <{POST_SNAPBACK}> 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?
raddygast Posted August 13, 2005 Posted August 13, 2005 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? <{POST_SNAPBACK}> 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.