Post by pitcher » Fri May 10, 2019 6:58 pm

How do i setup my opencart store 2.3.0.2 with the cdn of my hosting provider (vimexx)
Is there someone who can tell me witch files to change so my static content will be deliverd from cdn.

Newbie

Posts

Joined
Sat Mar 25, 2017 11:05 pm

Post by dparakhiya » Fri May 10, 2019 7:50 pm


For quick, professional OpenCart support
Online
contact me on skype : dparakhiya_1
email : dipneshp@gmail.com


User avatar
New member

Posts

Joined
Fri Jul 28, 2017 1:13 pm
Location - India

Post by pitcher » Sat May 11, 2019 11:26 pm

I tried the extension, result no pictures in website.
Is there another solution to get opencart 2.3.0.2 to work on cdn?

Newbie

Posts

Joined
Sat Mar 25, 2017 11:05 pm

Post by cedcommerceteam » Mon May 13, 2019 1:44 pm

Hello Pitcher,

You need to check which variable is used in place of $image_new

In this module, it is given to replace

Code: Select all

if ($this->request->server['HTTPS']) {
    		return $this->config->get('config_ssl') . 'image/' . $image_new;
	} else {
		return $this->config->get('config_url') . 'image/' . $image_new;
	}
with following code :

Code: Select all

if(CDN_HTTPS_SERVER !=""){
    return CDN_HTTPS_SERVER . 'image/' . $image_new;
}else{
	if ($this->request->server['HTTPS']) {
    		return $this->config->get('config_ssl') . 'image/' . $image_new;
	} else {
		return $this->config->get('config_url') . 'image/' . $image_new;
	}
}
I think you have missed to replace either variable or check image file path once.
Image will start showing at your store.

Please tell us if it won't work.
Thanks.

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 7 guests