-
Notifications
You must be signed in to change notification settings - Fork 106
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
[10.0][FIX] Fix shopinvader - Variants/Product active/inactive #568
[10.0][FIX] Fix shopinvader - Variants/Product active/inactive #568
Conversation
Codecov Report
@@ Coverage Diff @@
## 10.0 #568 +/- ##
==========================================
+ Coverage 89.61% 89.74% +0.13%
==========================================
Files 142 143 +1
Lines 3735 3773 +38
==========================================
+ Hits 3347 3386 +39
+ Misses 388 387 -1
Continue to review full report at Codecov.
|
737f01f
to
7d53424
Compare
@simahawk Could you update your review ? |
…variants related to a shopinvader product are disabled, this shop. product is also disabled (active = False). But when the shopinvader variant is re-enabled, we should also re-enable the related shop. product (active = True). Otherwise it could cause some trouble into url management (url.url) who could stay disabled. But it's a side effect
7d53424
to
70609f3
Compare
This PR has the |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 58be7e7. Thanks a lot for contributing to shopinvader. ❤️ |
Currently when every shopinvader variants related to a shopinvader product are disabled, this shop. product is also disabled (active = False).
But when at least 1 shopinvader variant is re-enabled, we should also re-enable the related shop. product (active = True).
Otherwise it could cause some trouble into url management (url.url) who could stay disabled (side effect).