Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new products box


teksservices

Recommended Posts

Go to your includes/modules/new_products.php file. Open it up. Find the number that should be changed appropriately. The default is a '2', which will show three columns because the counter starts at 0.

 

Find:

$col ++;

 

if ($col > 2) {

$col = 0;

$row ++;

}

?>

 

Change the "2" to a "3" (without quotation marks). Hope this helped.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

thank you that worked!!!

 

Go to your includes/modules/new_products.php file. Open it up. Find the number that should be changed appropriately. The default is a '2', which will show three columns because the counter starts at 0.

 

Find:

$col ++;

 

if ($col > 2) {

$col = 0;

$row ++;

}

?>

 

Change the "2" to a "3" (without quotation marks). Hope this helped.

Link to comment
Share on other sites

  • 2 weeks later...

hi guys.

 

do you know how to change rows by columns? i mean i want to list my nine products in a column by product, not in rows like actually .

 

thanks a lot.

Link to comment
Share on other sites

Go to your catalog/includes/modules folder, right-click new_products.php, and right click in a blank area, and select "paste" so you have a copy of it just in case it goes bad.

 

Then just switch the "col" to "row", and the "row" to "col". So it looks like this:

 

$row ++;

if ($row > 2) {

$row = 0;

$col ++;

 

 

I have no idea if this will work, since I don't use this new_products feature. But that's what I'd do -- I'd tinker around with it, upload it, refresh my browser. Tinker around with it, reupload, and refresh my browser, etc., etc., until I got it right.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...