If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

OpenCart 1.5.x. How to change default products listing view

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:

OpenCart. How to change default products listing view