Guest Posted December 11, 2005 Posted December 11, 2005 The correct info is showing up in the email, but there is not a clickable link in the email. The detailed invoice and tracking info should be clickable links, right? Here is the code from admin/orders.php $email = STORE_NAME . "\n\n" . EMAIL_SEPARATOR . "\n\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); Here is the code from admin / includes / functions /html_output function tep_catalog_href_link($page = '', $parameters = '', $connection = 'NONSSL') { if ($connection == 'NONSSL') { $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL_CATALOG == 'true') { $link = HTTPS_CATALOG_SERVER . DIR_WS_CATALOG; } else { $link = HTTP_CATALOG_SERVER . DIR_WS_CATALOG; } } else { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>'); } if ($parameters == '') { $link .= $page; } else { $link .= $page . '?' . $parameters; } while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); return $link; } Here is the result, but without a clickable link. Wood and Metal Replicas ------------------------------------------------------ Order Number: 30 Detailed Invoice: https://www.woodandmetalreplicas.com/accoun...php?order_id=30 Date Ordered: Monday 03 October, 2005 Package tracking numbers: http://www.woodandmetalreplicas.com/tracking.php? UPS: adaccvsvgvgb Fedex: 12345678 USPS: avherhqgb The comments for your order are: adadacacvvv s rewgwagv Your order has been updated to the following status: Processing
Recommended Posts
Archived
This topic is now archived and is closed to further replies.