Hey guys, OpenCart 2 has been officially released, So, Here, I have be pointing out for how to setup layout position of module in OpenCart 2.x. OpenCart supports various Modules which allows you to choose various features that best suit your needs.
Install and configure module
- Go to Extensions > Modules
- First of all you have to install the module. To do so, click on Install button. As one demonstration, let us install the bestsellers module.
- When the module is installed, press “Edit” button, and you go to settings of module.
Click on “Save” button in the top right corner when you have completed settings of bestsellers module.
Now, You need to ‘setup position for modules’. Then go to Layouts. You can access Layouts in some ways:
Setup layout position of module
- Go to System > Design > Layouts
- Click on “Edit” button to set the modules position for Home page.
- Select the bestsellers modules from Modules option and then Select the Position for layout of bestsellers. Set the sort order to set the order of bestsellers module on the page when other modules are added on the same page.
- Click on “Save” button in the top right corner when you have completed settings of layout of Home.
- Now you have enabled the bestsellers module and you will be able to view bestsellers module in Home page front End.
In the same way you can continue with “setup layout position” of other modules in Latest OpenCart 2.x version.
How to create module bestseller, i have enable is error
Warning: Invalid argument supplied for foreach() in /home1/mcnffiys/public_html/opc20/admin/model/setting/setting.php on line 22Warning: Cannot modify header information – headers already sent by (output started at /home1/mcnffiys/public_html/opc20/admin/index.php:84) in /home1/mcnffiys/public_html/opc20/system/library/response.php on line 12
Please help me
Here, You need to contact from OpenCart forum http://forum.opencart.com/ for this error. Thanks.
Hi!
I tried uninstall and then reinstall module feature, it not appear and i got error: Warning: array_slice() expects parameter 1 to be array, string given in C:xampphtdocsdemocatalogcontrollermodulefeatured.php on line 24Warning: Invalid argument supplied for foreach() in C:xampphtdocsdemocatalogcontrollermodulefeatured.php on line 26
please help me!
thanks!
Hello, Some issue & error availalbe in OpenCart 2.0 version. So, Please use latest OpenCart version 2.0.1.1. though, if, will create any issue. So, You need to contact from OpenCart forum http://forum.opencart.com/ Thanks.
I just read through the entire article of yours and it was quite good. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post.
Easy settings.
Thx.
Hi, how can i call any module anywhere on page like opencart 1.5.x as $this->data[‘featured_products’] = $module = $this->getChild(‘module/featured’, array(
‘limit’ => 18,
‘image_width’ => 175,
‘image_height’ => 239
));
Hello, You need to contact from http://forum.opencart.com/ and also http://stackoverflow.com/questions/tagged/opencart for this topics. Thanks.
That a awesome post you have share here.
And it really easy to understand with the help of images which you have shared with the post.
Thanks for such a great post.
Hope you will keep updating us on latest updates.
Thanks for your word.
Thank you alot for this simple and clear instruction i was searching all day but i found here finally…Thxxxx
Thanks for your word.