kpham501 Posted January 6, 2014 Share Posted January 6, 2014 I'm adding a multistore and didn't set one of my categories as a root category. Can I convert that category to a root category if so how do I do it? Link to comment Share on other sites More sharing options...
PrestUser Posted October 16, 2015 Share Posted October 16, 2015 Hi, This topic is a bit old, but solving it may help a lot of people. I have the same issue in PrestaShop 1.6.1.1, which, I think, is not very different from your version regarding multistore management. The issue is that the backoffice does not allow to set/declare an existing category as a root category. It seems that a category can be declared as a root category only when it is created via "Categories" > "Add a new root category". However, I found that editing the `prestashop_category` MySQL database table *might* solve our issue. For the concerned `id_category`, I changed the `is_root_category` column from 0 to 1. This simple change *seems* to work. But there might be other changes to do in the database that only developpers can recommend because they have a global knowledge of PrestaShop internals. And this single change might break some things in PrestaShop, so if you do it, it is at your own risk. I hope that a developper will come across this topic and share his point of view. Best regards. 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