Birky Posted October 1, 2005 Posted October 1, 2005 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
Birky Posted October 2, 2005 Author Posted October 2, 2005 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
nana Posted October 2, 2005 Posted October 2, 2005 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]);
Birky Posted October 2, 2005 Author Posted October 2, 2005 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
Birky Posted October 3, 2005 Author Posted October 3, 2005 sorted it....just hashed out the url link line. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.