Maury Markowitz Posted February 8, 2013 Share Posted February 8, 2013 I've made a CSV file to import my categories and sub-categories. When I import the file, I get this error: The ID category cannot be the same as the ID Root category, nor the ID Home category After this is a list of every line failing to import. Now the obvious problem is that one of my categories has the wrong ID, but I actually numbered them starting at 3. I *think* this is because I have some root categories in the file, and there's no instructions on how to do these. Any ideas? Link to comment Share on other sites More sharing options...
Maury Markowitz Posted February 8, 2013 Author Share Posted February 8, 2013 Got it, after considerable trial and error! The main problem is that there is a bug in the import screen. When you use the Upload button the system renames the file with a timestamp. However, the pop-up with all of the uploaded files is sorted incorrectly, so the new file is not at the top! So if you then hit go, you're using the wrong file! Bad programmer, no donut! Other problems included not full comprehending the meaning of "root", which I still don't really understand. So I put all my new categories into Home, turned off the root flag, and presto, in they went. Link to comment Share on other sites More sharing options...
parsifal Posted February 8, 2013 Share Posted February 8, 2013 (edited) 1. You cannot have multiple categories acting as root at the same time 2. In the default installation, the role of Root category is played by the Home category. But, as you may have figured out by now, you can change this and have another category assigned as Root 3. Even after cancelling its Root status, the Home category can still be useful: the "Featured Products on the homepage" module works by adding a product in the Home category Edited February 8, 2013 by parsifal (see edit history) Link to comment Share on other sites More sharing options...
Maury Markowitz Posted February 8, 2013 Author Share Posted February 8, 2013 So is there any reason to make a new root? It seems that you have to have one, and only one, root. And since you can rename that one, why would you make a different one instead? Link to comment Share on other sites More sharing options...
parsifal Posted February 8, 2013 Share Posted February 8, 2013 For one, to switch between different root categories at will without having to rename each time. Or, to have different root categories per store, in a multistore context (although I'm not sure if this is supported, I'd have to check). Link to comment Share on other sites More sharing options...
Maury Markowitz Posted February 8, 2013 Author Share Posted February 8, 2013 For one, to switch between different root categories at will without having to rename each time. Ok, but since all your other categories are under one of the other ones, what effect would this have? Or, to have different root categories per store, in a multistore context (although I'm not sure if this is supported, I'd have to check). Ahh, that might be interesting. Link to comment Share on other sites More sharing options...
parsifal Posted February 8, 2013 Share Posted February 8, 2013 (edited) It seems that I misspoke. You can indeed have multiple root categories. I just tried it in a test installation and setting a category as root does not cancel the root status of other categories. I think that this contradicts what is stated in the official documentation about creating new categories: Root Category. You might want to use this new category as the new root category, instead of "Home". If so, check the radio button that applies. which implies that setting this for a new category would mean that it would replace your one and only root category... :-/ Edited February 8, 2013 by parsifal (see edit history) Link to comment Share on other sites More sharing options...
wilson113311 Posted February 8, 2013 Share Posted February 8, 2013 Does any one here have a google base feed zip file? Link to comment Share on other sites More sharing options...
Maury Markowitz Posted February 8, 2013 Author Share Posted February 8, 2013 I think that this contradicts what is stated in the official documentation about creating new categories: which implies that setting this for a new category would mean that it would replace your one and only root category... Curiouser and curiouser! Link to comment Share on other sites More sharing options...
Recommended Posts