Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete main category of product, product should be reassigned another main category #228

Open
arouiadib opened this issue Jun 11, 2021 · 0 comments

Comments

@arouiadib
Copy link

arouiadib commented Jun 11, 2021

(Special thanks to @marionf, @matks, @Julievrz who already contributed to this VERY important matter.
The issue hugely affects how products are browsed by categories in FO).

What happens to the default category of a product P associated to category C when C is deleted and C is default category of P?

When merchant deletes category and chooses one of the two first options in modal (doesn't choose to delete associated products) THEN associate P to the parent category and set parent category as default.

some cases:

case 1

case 2 1

Behavior tests here: PrestaShop/PrestaShop#24668

@arouiadib arouiadib changed the title Category deletetion and impact on associated products Category deletion and impact on associated products Jun 11, 2021
@arouiadib arouiadib changed the title Category deletion and impact on associated products Delete main category of product, product should be reassigned another main category Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant