Hello all,
I would like to display products in all the categories and sub categories from newest first to oldest... and this should be by default. Can anyone help me how to do this?
Many Thanks,
Aditya
Printable View
Hello all,
I would like to display products in all the categories and sub categories from newest first to oldest... and this should be by default. Can anyone help me how to do this?
Many Thanks,
Aditya
You could customize the file:
/includes/index_filters/default_filters.php
and find this section of code around line 102:
customize the way you want the order by to be when it has been set to blank ...Code:// sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER is left blank
// for reverse, descending order use:
// $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
$listing_sql .= " order by p.products_sort_order, pd.products_name";