fadygh Posted March 18, 2014 Share Posted March 18, 2014 any Idea on how to change the number of columns in the featured products on prestashop 1.6 Link to comment Share on other sites More sharing options...
dioniz Posted March 18, 2014 Share Posted March 18, 2014 Open product-list.tpl and find this code: {if $page_name !='index' && $page_name !='product'} {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} {else} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=3} {assign var='nbItemsPerLineMobile' value=2} {/if} Change 4 to desired number Link to comment Share on other sites More sharing options...
fadygh Posted March 19, 2014 Author Share Posted March 19, 2014 thank you a lot Link to comment Share on other sites More sharing options...
Sashok Posted February 23, 2015 Share Posted February 23, 2015 for correct GRID-LIST you must change values in /js/global.js too: function display(view) { ... $('.product_list > li').removeClass('col-xs-12 col-sm-6 col-md-3').addClass('col-xs-12'); ... $('.product_list > li').removeClass('col-xs-12').addClass('col-xs-12 col-sm-6 col-md-3'); ... Link to comment Share on other sites More sharing options...
Recommended Posts