Bestsellers Sidebox


Any ideas why bestsellers sidebox does not show products from main categories anymore? Obviously, in most cases all products are located under subcategories so the main category is empty of products. But in cscart versions 1.3 the bestsellers form subcategories would show up for the main category anyway even if it were empty of products.

Any ideas where to look? I think in the pre 2 versions the code had to deal with the id_path for categories.

I tried to change the code in addons - bestsellers - func.php but with no success.


Got it. Just need to get a parent id for the categories. Had to add code in two files: categories.php and fn.catalog.php

can anyone tell how to show bestsellers from subcategories on the page of main category. Its logically should be in base cs cart performance.