bosanci28 Posted July 25, 2012 Share Posted July 25, 2012 can someone tell me how or where to edit,as i see ,when adding items under the admin/add products then when choosing category ,is not in alphabetic order !, somewhere in includes/functions.inc.php i found $dirArray[] = $config['dirSymbol'].$catArray[$i]['cat_name']; } $cat_father_id = $cat['cat_father_id']; } } if ($reverseSort) { arsort($dirArray); } else { asort($dirArray); } reset($dirArray); $dir = ""; foreach ($dirArray as $key => $value){ $dir .= $value; } if ($skipFirstSymbol) { $dir = substr($dir, strlen($config['dirSymbol'])); } return $dir; } changed from arsort to krsort and the other one asort to ksort but no luck fixing it, any help will appreciate! thanks Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted July 25, 2012 Share Posted July 25, 2012 Hi You can change the order of the categories by clicking View Categories from the admin menu and using the 'arrow' icons to move the categories up or down to the order you choose. If you have any child categories, click the main category name and do the same there and click Save Order. Lee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.