Guest Made in Japan Posted June 13, 2006 Share Posted June 13, 2006 I really need to alphabetically sort categories in add product menu. I have 457 categories and they're all kind of jumbled up in there, it takes 5-10 minutes sometimes to find the correct categories in the drop down box when adding new products. (see attachment) This seems like a really simple mod if you know what you're doing, but, well I don't know what I'm doing This would really help me out, anyone willing to give it a look and tell me what I need to edit for this? I did do a mod posted in the free mods section to order the categories in the "Add category" page which is nice, but to search through that menu when adding a new product to an older category, it's killing me :/ We get shipments of 100+ books at a time a couple times a week. Quote Link to comment Share on other sites More sharing options...
TDLWebs Posted July 7, 2011 Share Posted July 7, 2011 Was there ever an answer to this one? If I just knew which file to edit it would be a start :) Quote Link to comment Share on other sites More sharing options...
TDLWebs Posted July 8, 2011 Share Posted July 8, 2011 I know we are up to V5 now and there is little interest in V3, but I would love to solve this one :-) Ok, I have found the file that needs editing, it is admin/products/index.php and the lines that need attention are: <?php for ($i=0; $i<count($categoryArray); $i++){ ?> <option value="<?php echo $categoryArray[$i]['cat_id']; ?>" <?php if(isset($results[0]['cat_id']) && $categoryArray[$i]['cat_id']==$results[0]['cat_id']) { echo "selected='selected'"; } ?>><?php echo getCatDir($categoryArray[$i]['cat_name'],$categoryArray[$i]['cat_father_id'], $categoryArray[$i]['cat_id']); ?></option> <?php } ?> Unfortunately I have little experience with PHP so I'm stuck for now :-( If I work it out I'll post the solution here, but in the meantime if any kind soul knows could you give us a clue? T Quote Link to comment Share on other sites More sharing options...
traylor23 Posted September 20, 2011 Share Posted September 20, 2011 I'm pretty sure that Estelle has a mod for this in her mod store... 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.