Jump to content

Product numbering error after duplicate block bestseller, please help...


Recommended Posts

Hello Sir/Madam,

 

I got the numbering problem after I duplicate the block bestseller. The second block does not sort and numbering separately, but it depends to first block. I have attached the image. For example: The first block got the number: 1, 2, 3, & 4. The second block will start from: 5, 6,7... but not from 1, 2, 3...

 

I have looked around the php & tpl files, but I still failed to solve this problem.

 

I feel that is the problem of coding at tpl file:

 

<h5><a class="product_link" href="{$product.link}" title="{$product.name|escape:'htmlall':'UTF-8'}"><span>{if $smarty.foreach.myLoop.iteration<=9}{counter}{else}{counter}{/if}.&nbsp</span>{$product.name|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'|truncate:180:'...'}</a></h5>

 

I am using PS V1.4.2.5. Please help and advice how can I correct this coding problem. Thank you very much.

post-205792-0-95926100-1315798555_thumb.jpg

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...