te
  Home    After Sale Support      Uploading files to a server      Installing Os Commerse templates      Changing the number of the featured products
Changing the number of the featured products
Q: How do I change the number of featured products on the front page?

A: The number of columns shown in the Featured Products section of the front page of the shop can be changed by editing the "includes/modules/new_products.php" file.
The number should be changed appropriately. The default is '2', which will show three columns because the counter starts at 0.


$col ++;

if ($col > 2) {
   $col = 0;
   $row ++;
}
?>


The following (modified) code will show 2 columns:


 $col ++;

if ($col > 1) {
   $col = 0;
   $row ++;
}
?>