beachboy Posted June 8, 2003 Posted June 8, 2003 How can I remove or limit the number of Best Sellers listed?
Guest Posted June 8, 2003 Posted June 8, 2003 You can take out the whole box by going to catalog/includes/column.left and // in front of include
beachboy Posted June 8, 2003 Author Posted June 8, 2003 I know that but I just really want to limit it or remove some of the products on it..
beachboy Posted June 9, 2003 Author Posted June 9, 2003 I found this code in bestsellers.php. can I add something here to limit it to 5? " . MAX_DISPLAY_BESTSELLERS); } else { $best_sellers_query = tep_db_query("select p.products_id, pd.products_name, p.products_ordered from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by p.products_ordered DESC, pd.products_name limit " . MAX_DISPLAY_BESTSELLERS); }
rseigel Posted June 9, 2003 Posted June 9, 2003 You can change it in your admin panel. Don't mess with the code. :wink:
rseigel Posted June 9, 2003 Posted June 9, 2003 You didn't look very hard. :wink: Admin > Configuration > Maximum Values > Best Sellers
beachboy Posted June 9, 2003 Author Posted June 9, 2003 Wow..That was awesome!! I've been to that page before but had no idea what it did!! Thanks!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.