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
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";
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks