Post by ASHRAF zAKY » Fri Dec 04, 2015 1:03 am

Hello All,

i have installed a new SSl certificate to my OpenCart to change it from http to https, then my Opencart 1.5.6.4 Add To Cart Button Doesn't work!! can any one help me fix this Issue?
my website is https://uge-one.com

Newbie

Posts

Joined
Fri Dec 04, 2015 12:57 am

Post by villagedefrance » Fri Dec 04, 2015 2:15 am

First of all, Check your "config.php" files!
Make sure the "HTTPS_SERVER" has an "https://...." address.

Code: Select all

// HTTP
define('HTTP_SERVER', 'http://localhost/www/1564FF/');

// HTTPS
define('HTTPS_SERVER', 'https://localhost/www/1564FF/');
The "Add To Cart" button works with a script located in the "common.js" file.
The "common.js" file is being called in your "header.tpl" (of your custom theme, if not "default").
Make sure it is present in there and the call points to the correct location of the file.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 4 guests