Hi, I have a problem with the homepage layout.
I have several OC Products Modules that print different types of product grids.
There, and only there, the product links are printed using a plain HTTP URL instead of the HTTPS one.
Every single other link on the site is correctly printed with HTTPS.
I'm using OpenCart Version 3.0.2.0 with the tt_aero theme.
There are no translation extensions, and I suspect that the culprit is the OC Tab Products extension, but I haven't found any clues.
I'm also using the Complete SEO Package extension, which handles URLs, so that could be the cause as well.
Has anyone encountered the same problem?
P.S. I was wondering if, as a last resort, it is safe to replace the HTTP_SERVER URL with the HTTPS one in config.php (at least in the root config, not the admin one).
Thanks in advance.
If you're under SSL all http references in the root/config.php and admin/config.php should be https://elvito wrote: ↑Wed Apr 02, 2025 5:23 amHi, I have a problem with the homepage layout.
I have several OC Products Modules that print different types of product grids.
There, and only there, the product links are printed using a plain HTTP URL instead of the HTTPS one.
Every single other link on the site is correctly printed with HTTPS.
I'm using OpenCart Version 3.0.2.0 with the tt_aero theme.
There are no translation extensions, and I suspect that the culprit is the OC Tab Products extension, but I haven't found any clues.
I'm also using the Complete SEO Package extension, which handles URLs, so that could be the cause as well.
Has anyone encountered the same problem?
P.S. I was wondering if, as a last resort, it is safe to replace the HTTP_SERVER URL with the HTTPS one in config.php (at least in the root config, not the admin one).
Thanks in advance.
Also make sure SSL is enabled in your site settings tab.
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
In fairness i was a little confused about the presence of both config params:
// HTTP
define('HTTP_SERVER', 'https://www.<mysite>.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.<mysite>.com/');
and in some modules are selectively use both $url = new Url(HTTP_SERVER, $config->get('config_secure') ? HTTPS_SERVER : HTTP_SERVER);
However setting even the HTTP_SERVER seem to have done the trick.
Thank you!
// HTTP
define('HTTP_SERVER', 'https://www.<mysite>.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.<mysite>.com/');
and in some modules are selectively use both $url = new Url(HTTP_SERVER, $config->get('config_secure') ? HTTPS_SERVER : HTTP_SERVER);
However setting even the HTTP_SERVER seem to have done the trick.
Thank you!
Who is online
Users browsing this forum: No registered users and 1 guest