AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: junkyard on October 17, 2013, 03:00:45 PM
-
How to repeat:
1. Attach a product to >1 categories
2. Delete one or more categories from step 1
3. See 'null' categories are shown in the Product's Relations
We think, if some category has been deleted, it should be removed from the product Relations completely, rather than showing it as 'null'.
The latter logic might possibly affect something somewhere, that's why we're asking to check it in code ..
Thanks!
-
Thank you. I agree. I think restriction of category removal is needed if there are products assigned to it.
-
I fixed this for 1.1.8. See this log and copy the file if you want
https://github.com/abantecart/abantecart-src/commit/34400fb6642320f67f3f93f0bf86344d69602114
-
It works perfectly! Deletion of a category automatically detached it from products assigned while keeping all other relations of the products intact.
Thank you! This is very convenient to managing a shop where most of your products are tied to multiple categories.