Opencart is one of the best online eCommerce answers for various types of organizations. It’s not difficult to manage, and its popularity grows every day. If you build your eCommerce website in opencart then you must see that opencart show modules with basis of layout and position. For example if you are trying to show Featured module in product (here this a layout which is created by opencart by default) page then you have to assign this featured module to a layout name product and set the position like top, bottom, left, right.
But suppose you want to assign you featured module to a layout which is does not exists in opencart, then what you do. So if you are facing this types of problem then you have to create a layout and then assign your module to that layout.
So for creating an extra layout at first login to your opencart dashboard and then go to “System” -> then “Design” -> then click on “Layouts”.
Here you find all your default layout which you use for module showing on a page. Now click on “Insert” button and then put “Layout Name” and then click “Add Route”. Here you just put “Route” name and then save it. Now you have a another layout with your given name.
For example when I install a blog module in my website and view it in front end the website blog url for blog module like this http://www.mysite.com/index.php?route=module/blog. Here module/blog is my route name. So I put module/blog in route name input box.
Now go to your modules and open a module. When you choose a layout, you see your layout name, just select it and select position and save it. Using the above method you can add extra layout in opencart
If you like my post please share it and give your comments.
You may also like: