billyjack Posted February 14, 2004 Posted February 14, 2004 I am trying to creat a hyperlink in an email after the user account has been created. My problem is nothing seems to work and it only passes the text. I am putting this in the admin/includes/application_top.php file. I have tried echo, " ect. but nothing seems to work. any help would be appreciated. define('EMAIL_TEXT_CONFIRM2', '<A href=\"www.handynursery.com\">Welcome to our Online Catalog<\/A>');
Guest Posted February 15, 2004 Posted February 15, 2004 While this was done to add the Fedex tracking number link directly into the e-mail when that status is changed to "shipped" in admin/orders.php rather than the customer having to login to account to track.... it might give you some ideas of how to change the e-mail that goes out in create_account.php to include a link. $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_FEDEX_TRACK_NUM . " http://www.fedex.com/cgi-bin/tracking?tracknumbers=" . $fedex_track_num . "&action=track&language=english&cntry_code=us\n\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]);
blueline Posted February 15, 2004 Posted February 15, 2004 define('EMAIL_TEXT_CONFIRM2', '<A href=\"www.handynursery.com\">Welcome to our Online Catalog<\/A>'); You need to not use the '\' slash in your A tags. -Chris Chris Sullivan
billyjack Posted February 15, 2004 Author Posted February 15, 2004 Thanks JB, I finally got it working with your idea. . EMAIL_TEXT_CONFIRM2 . " http://www.mysite.com/catalog \n\n"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.