Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order Update Notification


Birky

Recommended Posts

Posted

Hi

 

When I go to update a customers order from say Pending to Processing I tick the box to notify the customer.

 

The email is sent to the customer informing him of the order update but, the link shown under 'detailed invoice' only shows the path to the invoice (ie. /catalog/account_history_info.php?order_id=354) and not an actual web url .

 

Does anyone know how to change this so that the customer receives a proper web url to their order?

 

Thanks

Posted

If this isn't possible then could someone tell me how I can;

 

a) completely remove the link from the email that is sent to the customer when a change is made

or

B) remove the checkbox that allows a mail to be sent when an order is updated.

 

Option 'a' would be my prefered choice.

 

Thanks

Posted

the code to do this is in admin/orders.php

i came across it a while back trying to make some changes.around line 56

mine looks like this code but i have not actually tested it

			$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

Posted

Thanks for the info, do you know which bit I need to get rid off so that the link doesn't show up...I'm new to php and just getting my head around it.

 

Thanks

Archived

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

×
×
  • Create New...