How to manage layouts in Open Cart

How to manage layouts

    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

 

    1. Here one can see the list of available Layouts in the theme.
    2. Click Edit link to edit the layout

 

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

 

    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.

 

    1. Define Layout name
    2. Click Add Route button to add a route to the layout file.

 

  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.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.