in magento 1.5+ you cannot see what categories a product is assigned to in the admin. This feature for some reason was removed in magento. This is one of the stupidest things i have come across but kiwigrid has written a an extension to overide this behaviour and force the category tree to expand the category branches that have the product in it. It will not just expand the whole tree. The product category tab takes slightly longer to load whilst the code checks categories and then expands the tree where needed but you dont really notice.
This plugin is easy to install and does not overwrite any core code.
To Install
NB: do this on your demo site first before applying to your live store.
- download Kiwigrid AutoExpandProductCategoryTree Extension (on the right side click 'Download Zip')
- extract this file
- in the extracted files navigate to ../Kiwigrid_AutoExpandProductCategoryTree-master/Kiwigrid_AutoExpandProductCategoryTree-master/src , You should just see the 'app' folder
- upload this folder directly to your 'public_html' folder (this should be where you magento is installed), this means the files inside the 'app' folder on your desktop will go into the 'app' folder on the website
- if you cache is running you need to empty the following before you will notcie the code workingas expected (you might not need to do both as i wiped both of them in one go)
Useful Links
These are the links i came across whilst doing my research
- kiwigrid/Kiwigrid_AutoExpandProductCategoryTree · GitHub - The GitHub page of the working extension
- javascript - Auto Expand Product Category Tree - Stack Overflow - The original stackoverflow article on this issue
- Magento 1.9 categories tree collapsed by default - is this correct? | UK Business Forums - i am not the only one having this issue and proves i am not mad
- [Solved]:Magento 1.5 Admin – categories tree for product does not expand to show sub-categories
- Magento 1.5 Admin - categories tree for products does not auto-expand to show product categories
- Magento Magento 1.5 Admin - categories tree for products does not auto-expand to show product categories | How to - old article, messy
- ItsAli.Com » Categories tree for products does not auto-expand to show product categories
- Magento Product Edit Only Shows Default Category | Zaclee.net - i did not need this it but it is possibly related