Change default product view from grid to list in OpenCart 2

February 7, 2015 - By 

OpenCart 2 has two product view type: grid and list in listing page. It is convenient for customers to see products in your store. By default the products will be display as grid. But if you want to display products as list by default, OpenCart does not have option to do that.

In this post, I will show you how to change default product view from grid to list.

Step 1: Install our extension Custom JavaScript

Step 2: Add code below to extension Custom JavaScript:

 Step 3: Go to one category in front-store to check it.

You can see it in action here:

Hope this post will help you to improve your store better.

  • EZ Marketing

    is there a code to change the default listing from grid to list only on mobile phone view?