Patricko Posted April 22, 2014 Share Posted April 22, 2014 (edited) Hi In my new store, I've got problem with product list. When I choose to show 10 products per page - I can see only nine. (It is always one less, than you choose). I use deafoult theme in PrestaShop 1.5.6. Here is an example: http://www.toneryzagrosze.pl/6-tonery Edited April 22, 2014 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 problem is related to each category in your shop? or just only for this one 6-tonery ? Link to comment Share on other sites More sharing options...
Patricko Posted April 22, 2014 Author Share Posted April 22, 2014 (edited) Every page with products - even in search site. I can provide some code, but don't really know where to look for mistake. Edited April 22, 2014 by Patricko (see edit history) Link to comment Share on other sites More sharing options...
Patricko Posted April 22, 2014 Author Share Posted April 22, 2014 I have found the solution. In my product-list.tpl in line: <li class="ajax_block_product {if $smarty.foreach.products.first}first_item{elseif $smarty.foreach.products.last}last_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if} clearfix"> I have deleted: {elseif $smarty.foreach.products.last}last_item So now it is: <li class="ajax_block_product {if $smarty.foreach.products.first}first_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if} clearfix"> And everything works fine Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 wow thank you for detailed explanation i can go ahead and mark this thread as solved too. im more than convinced that it will be useful for other merchants too with regards, Milos 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