lucoral Posted October 11, 2016 Share Posted October 11, 2016 (edited) Aloha! I will remove a shop from multistore, but is it enough to just delete it, or should I delete the products, categories, and so on before I delete the shop? This question is mostly about the database I have, and which approach is best to keep it as clean as I can. There are about 50 items in the shop which is to be deleted. The database size right now is about 104 MB. Thanks! Tim Edited October 12, 2016 by lucoral (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2016 Share Posted October 12, 2016 Reading the code, it seems PrestaShop will only delete shop associations. It's not clear what happens if there's no shop associations left for a category or product. I'm going to guess they will still exist, but not appear in any shops. I think you'll have to manually delete products with no shop associations after deleting a shop, but you can make a backup of your entire database, try it and then let us know what happens. You can restore your database if you're not happy with the results. Link to comment Share on other sites More sharing options...
lucoral Posted October 12, 2016 Author Share Posted October 12, 2016 Aloha, Rocky! Thank you for your reply, that makes perfect sense. I will mark this query SOLVED. best, Tim 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