OpenCart is a system for people running an e-commerce business. Here you can create pages of different sizes and bandwidth. It has many ready-made modules for online trading, so there is no need for the person running the project to know how to write code. The platform is also distinguished by a wide range of plugins, an intuitive and easy-to-use user panel, and uses the Model-View-Controller, available in open-source mode.
When integrating BlazingCDN with Opencart, remember to prepare a CDN domain in the Static service. If you are using domains with HTTPS protocol, add SSL encryption to them. Also, it is wise to back up your database and resources. Ok, and how to do the integration itself? Start by downloading the CloudCache extension, which will allow you to enable CDN in the service. After that, you need to upload system and administrative files to the Opencart Documents root. After performing these steps, log in to the user panel of Opencart and find the Modules tab in the Extensions section. The installation option will be displayed on the right side and change the following in the extension code:
- Open file /admin/controller/module/cloudcache_cdn.php, find private function validate and at the first line of the function body add.
private function validate() {
return true;
Save the file.
- Open file /config.php and at top of the file add.
<?php
define(‘HTTP_IMAGE’, ‘http://cdn00000000.blazingcdn.net./image/’);
- Go back to the Modules section in the user panel
- Find the extension and click edit, then enable the extension and enter your domain – formula: cdn00000000.blazingcdn.net
See also:
How to integrate BlazingCDN and Magneto
How to integrate BlazingCDN and Joomla
How to integrate BlazingCDN and Drupal
BlazingCDN integration with Zend
BlazingCDN integration with XenForo
BlazingCDN integration with X-Cart
BlazingCDN integration with WordPress
BlazingCDN integration with vBulletin
BlazingCDN integration with Typo3
BlazingCDN integration with Symfony
BlazingCDN integration with SocialEngine
BlazingCDN integration with Shopware
BlazingCDN integration with PrestaShop
BlazingCDN integration with Phalcon
BlazingCDN integration with Perch
BlazingCDN integration with Odoo
BlazingCDN integration with MODX CDN
BlazingCDN integration with Laravel
BlazingCDN integration with Kirby CDN
BlazingCDN integration with Kentico
BlazingCDN integration with IPS
BlazingCDN integration with Grav
BlazingCDN integration with Discourse
BlazingCDN integration with Craft
BlazingCDN integration with concrete5
BlazingCDN integration with CodeIgniter
BlazingCDN integration with b2evolution
BlaizngCDN integration with Ruby on Rails