mati06 Posted July 30, 2012 Share Posted July 30, 2012 Hello, I want to set default sort by reference, in back office wasn't that option In AdminPPreferences.php i added array( array('id' => '0', 'name' => $this->l('Product name')), array('id' => '1', 'name' => $this->l('Product price')), array('id' => '2', 'name' => $this->l('Product added date')), array('id' => '4', 'name' => $this->l('Position inside category')), array('id' => '5', 'name' => $this->l('Manufacturer')), array('id' => '6', 'name' => $this->l('quantity')), array('id' => '7', 'name' => $this->l('reference')), array('id' => '3', 'name' => $this->l('Product modified date')) ), 'identifier' => 'id'), In Tools.php i was addes $list = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity', 7 => 'reference'); but still products are not default sorted by reference any advice would be greatly appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now