-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 for #16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" #18776
Conversation
Hi @vpodorozh. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @vpodorozh. Thank you for your request. I'm working on Magento instance for you |
Hi @vpodorozh, here is your new Magento instance. |
@orlangur, Any update on it guys? |
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.
Hey @vpodorozh,
I found some changes that would break backwards compatibility. You can read more about it here:
https://devdocs.magento.com/guides/v2.3/contributor-guide/backward-compatible-development/index.html
app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/LinkedProductSelectBuilder.php
Outdated
Show resolved
Hide resolved
...e/Magento/ConfigurableProduct/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php
Outdated
Show resolved
Hide resolved
...de/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/StockStatus.php
Show resolved
Hide resolved
app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php
Outdated
Show resolved
Hide resolved
...ode/Magento/ConfigurableProduct/Model/ResourceModel/Product/BaseSelectProcessorInterface.php
Outdated
Show resolved
Hide resolved
...o/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/StockStatusInterface.php
Outdated
Show resolved
Hide resolved
Do not close this PR please - I'm working on it now. |
0914323
to
68cca1c
Compare
…ldren are out of stock and even if Display Out of Stock Products is set to "yes" - allow "out of stock" items to be used for price determination of configurable product ONLY in case all child products are "out of stock". (cherry picked from commit 80f6a36) magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" - add strict types. (cherry picked from commit b786871) magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" - refactor variable names. (cherry picked from commit d009296) magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" - add blank space. (cherry picked from commit 0b19e04) magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" - remove unneeded usage of the variable. (cherry picked from commit 207e2e1) magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes" (cherry picked from commit f4ec67e) magento#16069: Configurable product price is not displayed if all children are out of stock - change request magento#16069: Configurable product price is not displayed if all children are out of stock - change request magento#16069: Configurable product price is not displayed if all children are out of stock - change request magento#16069: Configurable product price is not displayed if all children are out of stock - change request
68cca1c
to
7a02116
Compare
@davidverholen - seems to be finished now. However JS tests suite has been failed - but I did not change any JS or locators, strange. |
Hi, Any news on this PR? |
Hi @davidverholen, thank you for the review. |
✔️ QA passed |
a w e s o m e |
HI @vpodorozh thank you for collaboration, we have some test fail, like this -> |
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.
Hi @vpodorozh thanks for the pull requests, please see my review comments
/** | ||
* @inheritdoc | ||
*/ | ||
protected function isApplySalableCheck(SaleableInterface $salableItem): bool |
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.
The new protected method is a backward incompatible change, that cannot be delivered to patch release. What do you think about overriding the _toHtml
method instead?
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.
To be honest I do not remember why I have introduce this method :)
Will take a look on it on the next week (I’m on vacation now)
Thank you!
Hi @vpodorozh do you have any updates on this pull request? |
@magento run all tests |
Nope. And will not be in near time. Sorry! |
Hi @vpodorozh, thank you for your contribution! |
Description (#16069)
Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes"
Fixed Issues
Preconditions
Manual testing scenarios
Expected result
Price for configurable product should be displayed
Actual result
Price is not displayed at all
Contribution checklist