Let's say you want categories_id 10 to sort by Price but all the others to use your default setting ...
You can customize the code to read:
Code:
// bof: set sort order to Price for categories_id 10 when sort order is not set by customer
if (!isset($_GET['sort']) and $current_category_id == 10) {
$_GET['sort'] = '3a';
}
// eof: set sort order to Price for categories_id 10 when sort order is not set by customer
// set the default sort order setting from the Admin when not defined by customer
if (!isset($_GET['sort']) and PRODUCT_LISTING_DEFAULT_SORT_ORDER != '') {
$_GET['sort'] = PRODUCT_LISTING_DEFAULT_SORT_ORDER;
}