4.1.x MaxCDN and Detailed Products
Anyone know how to get MaxCDN working on 4.1.x for detailed product images?
Here are the specifics of what we're using.
We have it working for thumbnail images. (Made the modifications to the smarty.php and /inlcude/func/func.files.php)
We have the built-in Detailed product listings turned on.
Anyone got the detailed product images pulling from maxcdn on 4.1.x?
// WCM - CDN Images
if (($type == 'T' OR $type == 'P') AND $_SERVER['HTTPS'] != 'on')
$image_path = str_replace('/home/DirectoryName/public_html/images/','http://xxx.yyy.com/',$image_path);
// / WCM - CDN Images
// WCM - MaxCDN Implementation
if ($_SERVER['HTTPS'] != 'on')
In the Detailed images config, we have the popup options enabled. If I turn that off and set the func/func.files.php to include type 'D' files, everything pulls fine from the CDN.
X-cart Version 4.1.9