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.
How to change default products listing view in OpenCart
No comments:
Post a Comment