Jump to content

 

tonycoffey

Member Since 30 Apr 2011
Offline Last Active May 14 2021 11:27 AM
-----

Topics I've Started

Set The Default Sorting By Date Desc

27 February 2018 - 03:27 AM

I strongly recommend cs-cart development team set the default sorting by date desc ( new to old )for the list of Customer / Abandonded Cart / Backup/Restore, the backup/restore not support sort, this is not a big problem, but it's friendly for user and your customers.
 
app/functions/fn.cart.php
 
find: $sorting = db_sort($params, $sortings, 'customer', 'asc');
replace with; $sorting = db_sort($params, $sortings, 'date', 'desc');
 
it is on line 8449 on cs-cart v4.4.2
 
fn.cart.php
fn.users.php