Jump to content

[SOLVED] Problem with list of products.


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...