Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Can I Change The Way That New Products Are Displayed


Guest

Recommended Posts

Right now the new products (featuered products) on the index page are listed according to the date which are listed and every time we come to the cataloq page same one is shown, I like to change it to RANDOM so every time we enter different lot is shown!

How can I do that please?

 

Many thanks in advance

Mitchell

Link to comment
Share on other sites

in the select query you choose ORDER BY rand() instead of date_available.

 

Thank you for the email, but where do I find date_available? is is in the New Produdcts file or index.php? I couldn't fins the query.

Cheers

Mitchell

Link to comment
Share on other sites

Thank you for the email, but where do I find date_available? is is in the New Produdcts file or index.php? I couldn't fins the query.

Cheers

Mitchell

 

Thanks, I found it, it is in the NEW_PRODUCTS.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...