Thursday, December 19, 2013

OpenCart. How to manage layouts in OpenCart

    1. Login to your OpenCart admin panel. In your browser address bar type http://yourdomain.com/admin. If you have installed your Opencart under a subfolder “store” for an example the above URL will change to http://yourdomain.com/store/admin

Login using your username and password.


    1. Navigate to System > Design > Layouts

opencart_manage_layouts1


    1. Here one can see the list of available Layouts in the theme.

    2. Click Edit link to edit the layout

opencart_manage_layouts2


    1. Here you can change the Name of the layout and change Route for the layout.

opencart_manage_layouts3


    1. Layouts are located under /catalog/view/theme/themeXXX/template folder. Where XXX is the number of your theme.

    2. To add a new layout you should upload it to /catalog/view/theme/themeXXX/template folder.

    3. Navigate to System > Design > Layouts in OpenCart admin panel.

    4. Click Insert button.

opencart_manage_layouts4


    1. Define Layout name

    2. Click Add Route button to add a route to the layout file.

opencart_manage_layouts5


    1. Lets say that we have uploaded the layout to /catalog/view/theme/themeXXX/template/test folder. We should type test to Route field.

    2. Click Save button to save the changes.

opencart_manage_layouts6



OpenCart. How to manage layouts in OpenCart

No comments:

Post a Comment