
Originally Posted by
p1drobert
If you can tell me which file is responsible for sending out emails to clients and where that specific link is added I can just comment it out to disable it.
I DO NOT like telling people to "comment out" sections of core code, or to alter core code, for numerous reasons, not the least of which it makes upgrades more difficult. And the majority of times that people ask for that they're really just putting a bandage on a problem that's caused by things added/altered elsewhere which should be fixed so that the rest of the site isn't crippled by mangling the original core code. Plus it complicates things with respect to PCI issues. You are responsible for *all* changes you make to *any* files, regardless of who recommends/suggests them or where you find them.
However, the section of code which you can adjust is around line 933 of /includes/classes/order.php. Change the 'SSL' references to 'NONSSL' in the two places shown here:
Code:
EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'NONSSL', false) . "\n\n";
$html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;
$html_msg['EMAIL_TEXT_FROM'] = EMAIL_TEXT_FROM;
$html_msg['INTRO_STORE_NAME'] = STORE_NAME;
$html_msg['EMAIL_THANKS_FOR_SHOPPING'] = EMAIL_THANKS_FOR_SHOPPING;
$html_msg['EMAIL_DETAILS_FOLLOW'] = EMAIL_DETAILS_FOLLOW;
$html_msg['INTRO_ORDER_NUM_TITLE'] = EMAIL_TEXT_ORDER_NUMBER;
$html_msg['INTRO_ORDER_NUMBER'] = $zf_insert_id;
$html_msg['INTRO_DATE_TITLE'] = EMAIL_TEXT_DATE_ORDERED;
$html_msg['INTRO_DATE_ORDERED'] = strftime(DATE_FORMAT_LONG);
$html_msg['INTRO_URL_TEXT'] = EMAIL_TEXT_INVOICE_URL_CLICK;
$html_msg['INTRO_URL_VALUE'] = zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'NONSSL', false);