foz1234 Posted November 28, 2016 Share Posted November 28, 2016 Hi Order Confirmation email, the link at the bottom of the page Visit the store, where does this pick it up the domain/url? i have spent about 4 hours looking before asking . my old host i had to be on port :8446 for ssl but now i don't with new host, except the store is still showing the domain:8446 in the email link the store settings / ssl are correct without the port, I've cleaned the cache many times, looked at the email templates etc looked at ini.inc.php line that's correct ## Detect if SSL is enabled if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS'])!== 'off' && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == true) || $_SERVER['SERVER_PORT'] == 443) { define('CC_SSL', true); } else { define('CC_SSL', false); } all to no avail. thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 28, 2016 Share Posted November 28, 2016 It's probably in the email Content template. Goto File Manager>Email Templates>Email Templates tab at top of page>Default Emails Edit Source Code of HTML Content tab and also in the Plain Text Content. Here's a copy of ours: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> </head> <body bgcolor="#f7f7f7"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <style type="text/css">html, body, table { font-family: Arial; font-size: 14px; } </style> </body> </html> <title>Default HTML Template</title> <base href="{$DATA.storeURL}" /> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td align="center"> <table bgcolor="#ffffff" border="0" cellpadding="15" cellspacing="0" width="580"> <tbody> <tr> <td><a href="{$DATA.storeURL}"><img alt="{$DATA.storeName}" border="0" src="{$DATA.logoURL}" /></a></td> </tr> <tr> <td>{$EMAIL_CONTENT}</td> </tr> <tr> <td> <p>We're here to help,</p> <p>Rosemary</p> <p>{$DATA.storeName}<br /> <a href="{$DATA.storeURL}">{$DATA.storeURL}</a></p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p> </p> Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 28, 2016 Share Posted November 28, 2016 The $DATA.storeURL as used in the above email template superstructure, is acquired from $GLOBALS['storeURL'] in mailer.class.php, near line 179. $GLOBALS['storeURL'] is developed in ini.inc.php from one of several sources. You can work through the logic beginning at line 85. Have you made any edits that were needed to accommodate the SSL port being something other than 443? Quote Link to comment Share on other sites More sharing options...
foz1234 Posted November 29, 2016 Author Share Posted November 29, 2016 thanks for your replies yes indeed dirty butter it was set in there with :8446 hopefully this will fix my issue. @bsmither yes we edited this line some time ago if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS'])!== 'off' && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == true) || $_SERVER['SERVER_PORT'] == 443) to 8446 but when i upgraded to 6.1.1 this got over written. hopefully the edit on the Default Email setting will resolve this, i looked everywhere lol ( but not in there ) thank you Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 29, 2016 Share Posted November 29, 2016 I've marked this thread as resolved, but if you have more problems don't hesitate to post, and I'll remove the resolved designation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.