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
Fix pack stock issues #8607
Fix pack stock issues #8607
Conversation
Reviewed 7 of 7 files at r1. src/PrestaShopBundle/Install/DatabaseDump.php, line 60 at r1 (raw file):
I think you didn't want to add this file in the commit ! Please make a separate PR for the DB dump fix. src/PrestaShopBundle/Tests/Utils/Database.php, line 38 at r1 (raw file):
I think you didn't want to add this file in the commit ! Please make a separate PR for the DB dump fix. tests/TestCase/IntegrationTestCase.php, line 56 at r1 (raw file):
I think you didn't want to add this file in the commit ! Please make a separate PR for the DB dump fix. Comments from Reviewable |
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.
Thank you @alegout
Please see my comments above
Review status: all files reviewed at latest revision, 3 unresolved discussions. src/PrestaShopBundle/Install/DatabaseDump.php, line 60 at r1 (raw file): Previously, LittleBigDev (Bastien Bieri) wrote…
Done. src/PrestaShopBundle/Tests/Utils/Database.php, line 38 at r1 (raw file): Previously, LittleBigDev (Bastien Bieri) wrote…
Done. tests/TestCase/IntegrationTestCase.php, line 56 at r1 (raw file): Previously, LittleBigDev (Bastien Bieri) wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
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.
Thank you @alegout 👍
Hello @alegout |
Review status: 0 of 8 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. classes/Cart.php, line 1175 at r3 (raw file):
why not putting those in the commonWhere, and add the commonWhere later ? classes/Cart.php, line 1180 at r3 (raw file):
Same comment here, move it into the commonWhere Comments from Reviewable |
Reviewed 8 of 8 files at r3. Comments from Reviewable |
Review status: 3 of 9 files reviewed at latest revision, 3 unresolved discussions. classes/Cart.php, line 1175 at r3 (raw file): Previously, jocel1 (Jocelyn Fournier) wrote…
Done. classes/Cart.php, line 1180 at r3 (raw file): Previously, jocel1 (Jocelyn Fournier) wrote…
Done. classes/Cart.php, line 1186 at r3 (raw file):
lulz Comments from Reviewable |
Reviewed 1 of 1 files at r9. Comments from Reviewable |
@alegout |
It's ok for me, thanks you @alegout |
Thank you @alegout 🎉 |
2) Don't allow to order out of stock product
3) create a product A with a stock of 50
4) create a product B with a stock of 5, this product is a pack of 10 products A
5) You cannot order 50 products A and 5 products B.
Important guidelines
This change is