Author Topic: Change Sort Product order default  (Read 4279 times)

Truong Nguyen

  • Beginner
  • *
  • Posts: 1
Change Sort Product order default
« on: April 19, 2014, 11:14:27 am »
Hi All

Just want to share. With old VM 1.x, it does not have Sort Product order default Descending or Ascending configuration like VM 2.x. I found one place we can change it as below. Hope it helps

shop_browse_queries.php . Change ASC to DESC

// Descending or Ascending Order? possible values: [ASC|DESC]
$DescOrderBy = $vmInputFilter->safeSQL( $vm_mainframe->getUserStateFromRequest( "browse{$keyword}{$category_id}{$manufacturer_id}DescOrderBy", 'DescOrderBy', "DESC" ) );