Guest Posted September 19, 2002 Share Posted September 19, 2002 the link to the order detail pae. The actual e-mail for the initial order is though. It is getting the /account_history_info.php?order_id=11 info on there, but not the beginning www.mydomain.com/ info. Any ideas on where to start looking?? Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2002 Share Posted September 19, 2002 here is the string in my Admin/orders.php page that is only sending the order#, not the whole website address to link back to the order info $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']) . "nn" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); Does something seem wrong? It is a snapshot dated 6/18/02. does anyone know if this was a problem, and an updated snapshot of that file would help? Link to comment Share on other sites More sharing options...
bdownes Posted November 10, 2002 Share Posted November 10, 2002 Did you find a solution to this problem? I am having the same results... first part of URL not showing up on Update Emails sent to customer. Bobby Jared Geesey Link to comment Share on other sites More sharing options...
Guyver Posted November 10, 2002 Share Posted November 10, 2002 Out of interest, the cust. order email from my understanding is built and send via /catalog/checkout_process.php : Starts aroiund here: // lets start with the email confirmation $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) . "nn"; if ($order->info['comments']) { $email_order .= $order->info['comments'] . "nn"; EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link is the order ref. John Link to comment Share on other sites More sharing options...
bdownes Posted November 10, 2002 Share Posted November 10, 2002 That is right. But the problem is not with the confirmation emails. It is with the Update emails sent when giving the customer status of their order. This is an Admin side function. Jared Geesey Link to comment Share on other sites More sharing options...
Guyver Posted November 10, 2002 Share Posted November 10, 2002 Oh, I just updated a test order and got this: ITSUPPLIES ------------------------------------------------------ Order Number: 1048 Detailed Invoice: https://www.itsupplies.net/account_history_info.php?order_id=1048 Date Ordered: Saturday 09 November, 2002 Your order has been updated to the following status. New status: Processing Please reply to this email if you have any questions. So that part seems to work for me!? This is the code from orders.php if ($HTTP_POST_VARS['notify'] == 'on') { $email = STORE_NAME . "n" . EMAIL_SEPARATOR . "n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $o ID . "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_sta tus['date_purchased']) . "nn" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]) Version : $Id: orders.php,v 1.103 2002/11/01 05:55:36 hpdl Exp $ John Link to comment Share on other sites More sharing options...
bdownes Posted November 10, 2002 Share Posted November 10, 2002 Hi John, Looks like we have the same code in both places. But the update email has an incomplete URL on mine so it would read Detailed Invoice: /catalog/account_history_info.php?order_id=1048 instead of http://www.itsupplies.com/catalog/account_...p?order_id=1048 Strange huh? :-) Jared Geesey Link to comment Share on other sites More sharing options...
Guyver Posted November 10, 2002 Share Posted November 10, 2002 Prob stoopid idea, but I take it you've got all your config file setup? ie. define('HTTP_SERVER', 'http://www.itsupplies.net'); define('HTTP_CATALOG_SERVER', 'http://www.itsupplies.net'); define('HTTPS_CATALOG_SERVER', 'https://www.itsupplies.net'); John Link to comment Share on other sites More sharing options...
bdownes Posted November 10, 2002 Share Posted November 10, 2002 Yeah. Checked and double checked. I am stumped. I am going to try tep_href_link instead of tep_catalog_href_link What do you think? Jared Geesey Link to comment Share on other sites More sharing options...
Guyver Posted November 10, 2002 Share Posted November 10, 2002 Def. worth ago, this is how I solve most of my issues :(... But I reckon you/others may need to look at whats going wrong. Are you on the new snapshot , ie NOVEMBER one!?.. If not, it may be worth considering. John Link to comment Share on other sites More sharing options...
bdownes Posted November 10, 2002 Share Posted November 10, 2002 I went into the admin/includes/languages/english/orders.php file and extended the CATALOG_ACCOUNT_HISTORY_INFO.PHP to include http://www.christiancinema.com AND IT WORKS! :-) Are you running the new backend? Jared Geesey Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.