Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How to Display the Products in Ascending Order › Reply To: How to Display the Products in Ascending Order
June 11, 2010 at 1:19 am
#17125
Member
Yes you can display them in ascending order you need to make a minor code change as mentioned above.
1. Open the “eStore_misc_function.php” file and search for the following line:
$wp_eStore_db = $wpdb->get_results(“SELECT * FROM $products_table_name ORDER BY id DESC LIMIT $start, $limit”, OBJECT);
2. Once you find the above line change the “DESC” TO “ASC” then save and upload the file and it should do the job.