-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Allow caller to decide if to use stock filter for configurable product children collection #34459
base: 2.4-develop
Are you sure you want to change the base?
Allow caller to decide if to use stock filter for configurable product children collection #34459
Conversation
Hi @fredden. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
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.
…y/configurable-children-out-of-stock
@magento run all tests |
@engcom-Hotel I have updated this pull request. I am sure that the tests passed when I opened this more than three years ago. |
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.
Hello @fredden,
Thanks for updating the PR!
We are still having some static test failures on the PR, please fix those and also add an automated test for this fix.
Thanks
@engcom-Hotel it is not my place to change copyright information. It's also out of scope for this pull request. If you require the copyright information to be different, please adjust this in a separate pull request. |
Hello @fredden, I agree with your concern but in order to process the PR, we need a green build. And for the copyright static test failure, you just need to make the below changes in the file:
So please do the needful and also please add the automated test. Thanks |
Changing copyright is out of scope for this pull request. I do not represent neither Magento Inc nor Adobe; changing the copyright between these two companies is not something that I'm willing to do. @engcom-Hotel, please raise a separate pull request to address this change if it's important to you. I have looked at the existing unit tests for this class. From what I can tell, the |
Hi @fredden, Thank you for your contribution! In order to proceed further on this PR, we need a green build and currently the static test is failing for the copyright issue. As per the process, we have to provide the fix in the same PR. Can we go ahead and do the needful. We will look into the review comments and the test failures too in the same PR. Please let us know, till then moving this PR to On Hold. |
Description
Sometimes a merchant wants to show all possible options for a configurable product, including those which are currently out of stock. Currently there is no option for a developer to get this list with existing functionality. This pull request adds a parameter to allow developers to make this decision. The default value for this new parameter matches existing behaviour.
Related Pull Requests
None
Fixed Issues (if relevant)
None yet, please create if required.
Manual testing scenarios
Questions or comments
None
Contribution checklist