Opting Posted July 29, 2013 Share Posted July 29, 2013 I tried to use multishop, which caused a big problem with categories. I now disabled multishop, using version 1.5.4.1 and removed categories with this code: TRUNCATE TABLE `ps_category`; TRUNCATE TABLE `ps_category_group`; TRUNCATE TABLE `ps_category_lang`; TRUNCATE TABLE `ps_category_product`; TRUNCATE TABLE `ps_category_shop`; This deleted all the previous categories, but I needed to come back to how it was before, having "home" as the default category. Now, there's no category at all, how do I get to have the "home" category back on? As it is now, I cannot access category at all. The system fails to connect. Or shall I just re-install? Please Help !!! Link to comment Share on other sites More sharing options...
vekia Posted July 29, 2013 Share Posted July 29, 2013 if you go to the catalog> catogies you've got possibility to define new categories? or to click on "EDIT" button ? if you haven't got backup of your category tree - it isnt possible to restore it. If you want to import default categories - just use the deafault prestashop categories tables and export them, then you will be able to import them to your store. Link to comment Share on other sites More sharing options...
Opting Posted July 29, 2013 Author Share Posted July 29, 2013 if you go to the catalog> catogies you've got possibility to define new categories? or to click on "EDIT" button ? if you haven't got backup of your category tree - it isnt possible to restore it. If you want to import default categories - just use the deafault prestashop categories tables and export them, then you will be able to import them to your store. Hi, No I don't want the old categories. I want to import the default categories. Can you please explain how I will carry out the export and import. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 29, 2013 Share Posted July 29, 2013 the easiest thing: install new prestashop login to the database manager like phpmyadmin export tables:TABLE `ps_category`;TABLE `ps_category_group`;TABLE `ps_category_lang`;TABLE `ps_category_product`;TABLE `ps_category_shop`; Now import the exported .sql file to proper store database Link to comment Share on other sites More sharing options...
Opting Posted August 1, 2013 Author Share Posted August 1, 2013 Thanks, Vekia, I just re-installed anyway, and it all returned back to normal. I was hoping there was a way, so that I will not have to re-install. Link to comment Share on other sites More sharing options...
vekia Posted August 1, 2013 Share Posted August 1, 2013 backup backup and one more time backup if somethig will dont work with your configuraiton - then you can always rollback changes with the backup im going to mark this topic as solved 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