Home - Help & Support - Contact Us
    

Changing The Number Products On The Front Page

The number of columns shown in the New 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 ++;
}
?>


osCommerce Templates

Rated:NR/0 Votes
490 Views
More Articles From osCommerce Templates
More Articles From osCommerce Templates
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
Applying osCommerce Templates To Exisiting Shop
Ok, let's see how to install our OsCommerce Template on your existing shop without re-installing. Open your OsCommerce shop on ...
Updatig Images in osCommerce Templates
You should open your PSD file in Adobe Photoshop. Go to "sourcespsd" folder and there you will find all the ...
How to install an osCommerce template
Once you have downloaded a ZIP file, you should unpack the archive and save the unpacked files to any folder ...
Registering globals in osCommerce template
Q: I'm receiving the error that I need to enable register globals in my php.ini file. A: It's not a ...
What are osCommerce Templates?
osCommerce templates are ready made designs based on the open source ecommerce system. osCommerce is a well know e-commerce system ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.