Older version Opencart steps 1-3 to enable SSL.
New version Opencart steps 1-5 to enable SSL
Hope it helps!
Step 1: Admin panel->System->Settings-(Action)Edit->Server->Use SSL->Yes "Save and Exit"
Step 2: yourshopfolder->config.php->
find line:
Code: Select all
// HTTPS
define('HTTPS_SERVER', 'http://www.yourshop.com/');
Code: Select all
// HTTPS
define('HTTPS_SERVER', 'https://www.yourshop.com/');
find line:
Code: Select all
// HTTPS
define('HTTPS_SERVER', 'http://www.yourshop.com/admin/');
define('HTTPS_CATALOG', 'http://www.yourshop.com/');
Code: Select all
// HTTPS
define('HTTPS_SERVER', 'https://www.yourshop.com/admin/');
define('HTTPS_CATALOG', 'https://www.yourshop.com/');
find line:
Code: Select all
$_['site_ssl'] = false;
Code: Select all
$_['site_ssl'] = true;
find line:
Code: Select all
$_['site_ssl'] = false;
Code: Select all
$_['site_ssl'] = true;