Ajeh:
You could customize the file:
/includes/modules/new_products.php
And change the select statements to add an order by products_date_added so the new ones are at the top ...
if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {
$new_products_query = "select p.products_id, p.products_image, p.products_tax_class_id, p.products_price, p.products_date_added
from " . TABLE_PRODUCTS . " p
where p.products_status = 1 " . $display_limit;
} else {
$new_products_query = "select distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_date_added,
p.products_price
from " . TABLE_PRODUCTS . " p
left join " . TABLE_SPECIALS . " s
on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " .
TABLE_CATEGORIES . " c
where p.products_id = p2c.products_id
and p2c.categories_id = c.categories_id
and c.parent_id = '" . (int)$new_products_category_id . "'
and p.products_status = 1 " . $display_limit;
}
Is it possible to do this with all products randomly instead of new products? I've used javascript to create that effect on the main page of my [BeadedLily](http://www.beadedlily.com/shop/) site, with active links imbedded in each of the product photos. However, the process is not, of course, very time-efficient. I like the idea of all products randomly presenting themselves because it takes potential customers deeper into your inventory, shifting focus from just the new, specials or featured.