Change number of items displayed in Hot Deals block

From AVACTIS : Ecommerce Shopping Cart Software Wiki
Jump to: navigation, search

The number of items displayed in the "Hot deals" block is defined in the "avactis-themes/YOUR_THEME/custom.php" file. To change it, open this file and find the following part of code:


# this line is required because "Hot Deals" category is offline
 $set->filter->select_online_products_only = false;
 $set->filter->setSelectLimits(0, 10);


change 10 to a value you wish.

NOTE: page with large number of items in the block will load rather slow. It is necessary to load for example 30 links, 30 images and so on instead of 10 ones. So, it takes longer time to load.