Jump to content
mux

Show best selling products of a category in category page

Recommended Posts

Hi...

 

I want to show top 5 products of a category based on best sell in category page.

How can i achieve this???

 

 

Thanx in advance

Edited by mux (see edit history)

Share this post


Link to post
Share on other sites

No help?????

No one wanna take challenge????

Share this post


Link to post
Share on other sites

Hmmm I'm also trying to find a mod for this, so I can limit the number shown etc etc..... anyone know of a mod or a method - edit the tpl maybe?

Share this post


Link to post
Share on other sites

Hi.

 

1 - Solved?!

 

2 - Im trying to get the bestseller to show best sellers in the current category. Any ideas?

 

2 - I did edit the blockbestseller.tpl - My displays 12 medium images without any text.

I have 12 lines looking like this (with different numbers 1 to 12)

{if $best_sellers|@count > 1}<li><a href="{$best_sellers.1.link}" title="{$best_sellers.1.legend}"><img src="{$link->getImageLink($best_sellers.1.link_rewrite, $best_sellers.1.id_image, 'medium')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$best_sellers.1.legend}" /></a></li>{/if}

Share this post


Link to post
Share on other sites

Hmmm I'm also trying to find a mod for this, so I can limit the number shown etc etc..... anyone know of a mod or a method - edit the tpl maybe?

hi you

if you want to limit number product in tpl you could try this code

{foreach from=$myproducts item=product name=myLoop}    

            {if $product@iteration is even by 5}

                   .... your code product

           {/if}

{/foreach}

Edited by john smith151 (see edit history)

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More