Community Add-Ons

Maintainers: bigjat69
Add file to this package
Top » InfoBoxes

Best selling categories
for osCommerce Online Merchant v2.2

The categories shown in this mod are the actual Xnumber of categories that the best selling products belong to, whether they are top tier, subcats or sub-subcats.

This contribution adds a box under bestsellers (products) that shows the DISTINCT best selling categories (whether a product from that category has made it to the best selling products or not). At the moment there is no admin section and the max categories returned is the same as max best selling products set in the admin panel. this can be changed by editing line 14 in best_sellers_cat.php (added by this contri) from [b]pd.products_name limit " . MAX_DISPLAY_BESTSELLERS);[/b]
to [b]pd.products_name limit x");[/b] where x = int value of max categories to return.

Simply make the changes in bestselling_cats.txt to implement.

The contri will be updated as and when we get a chance to implement an independent admin section.

Regards web-junkies

Legend:  Download   Report
Expand All / Collapse All
Best selling categories bigjat69 1 Feb 2008  

The categories shown in this mod are the actual Xnumber of categories that the best selling products belong to, whether they are top tier, subcats or sub-subcats.

This contribution adds a box under bestsellers (products) that shows the DISTINCT best selling categories (whether a product from that category has made it to the best selling products or not). At the moment there is no admin section and the max categories returned is the same as max best selling products set in the admin panel. this can be changed by editing line 14 in best_sellers_cat.php (added by this contri) from [b]pd.products_name limit " . MAX_DISPLAY_BESTSELLERS);[/b]
to [b]pd.products_name limit x");[/b] where x = int value of max categories to return.

Simply make the changes in bestselling_cats.txt to implement.

The contri will be updated as and when we get a chance to implement an independent admin section.

Regards web-junkies