Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New products


Robax

Recommended Posts

Hi,

 

The new products box will show the newest products so I guess you could add more products and it would move the ones without pictures out or you could set the amount of new pictures to show in admin/configuration

Link to comment
Share on other sites

If you add:

 

and p.products_image != ''

 

to the end of your sql queries in your includes/modules/new_products.php, it will only display products with images on the front page.

Also, if you want to randomise what is shown to help the site look a bit different each time a user views it use:

 

where products_status = '1' and p.products_image != '' order by rand() limit " . MAX_DISPLAY_NEW_PRODUCTS);

 

Daithi.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...