If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

OpenCart News and Updates

This page will show you the most recent OpenCart templates updates and OpenCart Community news.

OpenCart Templates News and Updates

August 24th, 2012. Minor Steps to Big Changes: Opencart Themes Improvements

September 04 2012 | Category: OpenCart Updates

Day after day our dev team keeps on turning things for the better. Each month hundred of new awesome features are implemented into the templates (most of them are tiny updates that do not need to mentioned about), the only purpose of these updates is to deliver only the best products.

Read More

May 23, 2012. OpenCart 1.5.3 released

June 02 2012 | Category: OpenCart Updates

Finaly after 2 months OpenCart 1.5.3 is released with some important new features.

You can download it here:

http://opencart.googlecode.com/files/opencart_v1.5.3.1.zip

See the official release thread for more info:
http://forum.opencart.com/viewtopic.php?f=2&t=65250

If there are any bugs you can post them in this thread:
http://forum.opencart.com/viewtopic.php?f=161&t=65248

NEW:
Company ID and TAX ID fields.
VAT number checking.
CKeditor updated to the latest .
Jquery updated to …

Read More

It’s time to say welcome to OpenCart e-commerce solution.

April 05 2012 | Category: OpenCart Updates

On 6th or March 2012 our team has started to product OpenCart templates.

OpenCart is an open source PHP-based online shopping cart system. A robust e-commerce solution for Internet merchants with the ability to create their own online business and participate in e-commerce at a minimal cost. OpenCart is designed feature rich, easy to use, search engine friendly and with …

Read More

OpenCart News and Updates

For Clarity i'll concentrate on getting one new position in rather than both, so i currently have...

catalog/view/theme/mytheme/template/common/header.tpl
Code:
<?php echo $sidebar_one; ?>


catalog/controller/common/header.php
Code:
$data['language'] = $this->load->controller('common/language');
$data['currency'] = $this->load->controller('common/currency');
$data['search'] = $this->load->controller('common/search');
$data['cart'] = $this->load->controller('common/cart');   
$data['sidebar_one'] = $this->load->controller('common/sidebar_one');   
$data['sidebar_two'] = $this->load->controller('common/sidebar_two');   


catalog/controller/common/sidebar_one.php
Code:
<?php
class ControllerCommonSidebarOne extends Controller {
    public function index() {
        $this->load->model('design/layout');
        $this->load->model('catalog/category');
        $this->load->model('catalog/product');
        $this->load->model('catalog/information');
 
        if (isset($this->request->get['route'])) {
            $route = (string)$this->request->get['route'];
        } else {
            $route = 'common/home';
        }
 
        $layout_id = 0;
 
        if ($route == 'product/category' && isset($this->request->get['path'])) {
            $path = explode('_', (string)$this->request->get['path']);
 
            $layout_id = $this->model_catalog_category->getCategoryLayoutId(end($path));
        }
 
        if ($route == 'product/product' && isset($this->request->get['product_id'])) {
            $layout_id = $this->model_catalog_product->getProductLayoutId($this->request->get['product_id']);
        }
 
        if ($route == 'information/information' && isset($this->request->get['information_id'])) {
            $layout_id = $this->model_catalog_information->getInformationLayoutId($this->request->get['information_id']);
        }
 
        if (!$layout_id) {
            $layout_id = $this->model_design_layout->getLayout($route);
        }
 
        if (!$layout_id) {
            $layout_id = $this->config->get('config_layout_id');
        }
 
        $module_data = array();
 
        $this->load->model('extension/extension');
 
        $extensions = $this->model_setting_extension->getExtensions('module');
 
        foreach ($extensions as $extension) {
            $modules = $this->config->get($extension['code'] . '_module');
 
            if ($modules) {
                foreach ($modules as $module) {
                    if ($module['layout_id'] == $layout_id && $module['position'] == 'sidebar_one' && $module['status']) {
                        $module_data[] = array(
                            'code'       => $extension['code'],
                            'setting'    => $module,
                            'sort_order' => $module['sort_order']
                        );
                    }
                }
            }
        }
 
        $sort_order = array();
 
        foreach ($module_data as $key => $value) {
            $sort_order[$key] = $value['sort_order'];
        }
 
        array_multisort($sort_order, SORT_ASC, $module_data);
 
        $this->data['modules'] = array();
 
        foreach ($module_data as $module) {
            $module = $this->getChild('module/' . $module['code'], $module['setting']);
 
            if ($module) {
                $this->data['modules'][] = $module;
            }
        }
 
        if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/sidebar_one.tpl')) {
            $this->template = $this->config->get('config_template') . '/template/common/sidebar_one.tpl';
        } else {
            $this->template = 'default/template/common/sidebar_one.tpl';
        }
 
        $this->render();
    }
}
?>


I also of course have the section added to the admin area to allow for the selection in the drop down, but i don't think that's got anything to do with it.

Many thanks for any help.

Statistics: Posted by MikeChipshop — Thu Feb 04, 2016 8:59 am


Thanks again, still no joy though.

Getting a...


Notice: Undefined variable: sidebar_one in var/www/vhosts/44/444967/webspace/httpdocs/website.com/catalog/view/theme/pharmaplus/template/common/header.tpl on line 56


...error now.

Statistics: Posted by MikeChipshop — Thu Feb 04, 2016 8:52 am


twmprys wrote:
I'm using Plesk and php Admin...


I believe plesk is a bit more difficult, though never tried it myself. Try following viewtopic.php?f=19&t=98202

Statistics: Posted by labeshops — Thu Feb 04, 2016 8:38 am


I really need some advice from the OC Community!

I have a new client who has a site running on OC v1.5.3.1.

She needs me to make some changes to her site but I'm not really sure how to proceed. Firstly, should I attempt to upgrade her from 1.5.3.1 to v2.x? Or should I upgrade her to 1.5.6 and leave it at that?

She has a handful of extensions and VQMods, which I haven't even checked yet whether they exist for v2.

Can anyone advise - is upgrading to v2 as painful as it looks in http://www.randemsystems.com/support/opencart/migrating-your-data-from-opencart-version-1-5-6-4-to-version-2-1-0-1/ this post?

Are there security issues with 1.5.6 that I should be concerned about? Or is 1.5.3.1 a stable and secure build already?

Cheers

Statistics: Posted by Reverend2100 — Thu Feb 04, 2016 8:37 am


on your sidebar_one and/or sidebar_two controller file there you're trying to load a model file which has been move to other directory in OC2. open your sidebar_one and/or sidebar_two controller file and search for
Code:
$this->load->model('setting/extension')


replace with
Code:
$this->load->model('extension/extension')

Statistics: Posted by ocart777 — Thu Feb 04, 2016 8:21 am


viewtopic.php?f=181&t=146489

Statistics: Posted by artcore — Thu Feb 04, 2016 8:17 am


Salutare,
Ma scuzati daca subiectul a mai fost vorbit dar din pacate nu ii dau de cap...Vreau sa nu mai apara la http://www.domeniumeu.ro/index.php?route=common/home si când activez optiunea seo din admin/setari imi da eroare
HTTP 404 error That’s odd... Microsoft Edge can’t find this page...

Am citi, am incercat tot felul de modificari in seo, in htaccess si nimic, va rog frumos daca aveti timp si chef sa aruncati un ochi asupra htaccess.txt

Va multumesc !

Statistics: Posted by eduard86 — Thu Feb 04, 2016 7:57 am


Hi Guys!

I have a tailor shop website. So i'm finding a plugin which can design and measurement tailor. Does anyone know such kind of plugin???

Statistics: Posted by pelistonjuniour — Thu Feb 04, 2016 7:57 am


Καλημέρα, τι γίνεται στην περίπτωση που η πληρωμή γίνει με λίρα Αγγλίας και όχι με ευρώ? Δουλεύει κανονικά, και πως μεταφέρονται τα χρήματα, η μετατροπή με βάση την ισοτιμία, τι κόστος έχει?

Statistics: Posted by malam — Thu Feb 04, 2016 7:56 am


Thanks for that ocart777,

I actually tried that earlier by placing...

Code:
   
$data['sidebar_one'] = $this->load->controller('common/sidebar_one');   
$data['sidebar_two'] = $this->load->controller('common/sidebar_two');


...after...

Code:
$data['cart'] = $this->load->controller('common/cart');


However this then bring the error...


Notice: Error: Could not load model pathtosite/catalog/model/setting/extension.php! in pathtosite/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php on line 63


Any ideas? Maybe i'm putting them in the wrong place?

Statistics: Posted by MikeChipshop — Thu Feb 04, 2016 7:48 am