How to set list view by default in product list page in Prestashop 1.6.xx

By default, Prestashop set "grid" as base view. 

1) In js/global.js file search and replace bindGrid() function with the following lines od code:

function bindGrid(){ 

var view = $.totalStorage('display');

if (view && view != 'list')

display(view);

else {

$('.display').find('li#list').addClass('selected');

display("list");

}

$(document).on('click', '#grid', function(e){ 

e.preventDefault(); 

display('grid'); 

});  

$(document).on('click', '#list', function(e){

e.preventDefault(); 

display('list');

}); 

}

2) In product-list.tpl template page replace the following line of code:

<ul{if isset($id) && $id} id="{$id}"{/if} class="product_list grid row{if isset($class) && $class} {$class}{/if}”>

with

<ul{if isset($id) && $id} id="{$id}"{/if} class="product_list list row{if isset($class) && $class} {$class}{/if}{if isset($active) && $active == 1} active{/if}”>

3) Clear browser and prestashop cache.

That's it! Now "list" is a default view of product list page.