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
Add shop constraint on SetAssociatedProductCategoriesCommand and RemoveAllAssociatedProductCategoriesCommand #31047
Add shop constraint on SetAssociatedProductCategoriesCommand and RemoveAllAssociatedProductCategoriesCommand #31047
Conversation
4932fd2
to
b91f04f
Compare
…e the default category from the creation shop
a835275
to
9b523e2
Compare
And I edit category "women" with following details: | ||
| associated shops | shop2 | | ||
|
||
Scenario: I assign product to categories they are the same on all shops, but default one can be different |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hard to understand the scenario, wording could be improved
| id reference | name | is default | | ||
| women | Women | true | | ||
When I copy product product1 from shop shop2 to shop shop1 | ||
# Women is not associated to shop1, so shop1's default category is used as default, thus it is also part of shop2's categories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure i get the comment idea, it is probably clear to yo, because you already know about this behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO some wording (and comments) in behat could be improved, it is hard to understand the idea, but it is not blocking
Note: this PR is blocking for the
DuplicateProductCommand
in multishop mode