- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
OpenCart 1.5.x. How to change default products listing view
June 10, 2013
This tutorial will show you how to change default products listing view in OpenCart template.
OpenCart. How to change default products listing view
1. Connect to your domain via FTP (contact your hosting provider if you do not know how to do it).
2. Navigate to /catalog/view/theme/themeXXX/template/product folder. Where themeXXX is your theme name.
3. Edit category.tpl file using any code editor.
4. Search for the following code block:
if (view) { display(view); } else { display('list'); }
display(‘list’); means that default product listing is set to List.
5. Change that code block to:
if (view) { display(view); } else { display('grid'); }
to set Grid as default product listing mode.
6. Clean cookies and cache in your web browser. Otherwise you won’t see the changes on your site.
Feel free to check the detailed video tutorial below: