viji Posted July 25, 2015 Share Posted July 25, 2015 Hi, How to change the number of products per row and column based on Page layout on Category Page in prestashop 1.6.0.9? {if $page_name !='index' && $page_name !='product' && !isset($left_column_size)} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} {else} {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=3} {assign var='nbItemsPerLineMobile' value=2} {/if} I use this method to change the number of products per row, but I don't know how to change the number of products per row on left column? <li class="{$left_column_size} post ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-4{else}col-xs-12 col-sm-6 col-md-3{/if}> In this also, I can't change the bootstrap class for left column. If we change in product-list.tpl file, grid view works correct, but the list view gets affected. Link to comment Share on other sites More sharing options...
m100ni Posted September 8, 2016 Share Posted September 8, 2016 नमस्कार ! (Hello!) I'm new person to here and posting my first topic relating to my site - www.pansaribazar.com please visit above site. I'll be appreciated with your valuable suggestions. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now