Fix issue where upsell and related products were controlling each oth… - #37482
Fix issue where upsell and related products were controlling each oth…#37482igorwulff wants to merge 4 commits into
Conversation
…ers visibility On a PDP with both upsell and related products with a limit set and a shared set of some of the products an issue could arise where products being hidden or shown by the related product js would impact the upsell products and vice versa.
|
Hi @igorwulff. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
|
@magento run all tests |
|
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
engcom-Hotel
left a comment
There was a problem hiding this comment.
Hello @igorwulff,
Thanks for the contribution!
I suggest you to cover the changes with some automated tests like functional tests.
Thanks
|
@magento run all tests |
|
@igorwulff — this is still an unfixed bug on current 2.4-develop (the global If you would like to finish it yourself, say so and I will leave it alone. Otherwise I will take it over: rebase onto current 2.4-develop, keep the diff to the id-namespacing, and add the functional test. I will open a separate PR from my fork crediting you and Youwe so your authorship here stays intact. |
|
Opened #41171 which continues this PR — rebased onto current 2.4-develop with your commit and authorship preserved, plus the functional test @engcom-Hotel asked for. @igorwulff for the record I dropped the second commit (the copyright-header rewrite and |
|
Correction to my earlier comment, @igorwulff — I was wrong to describe your second commit as purely cosmetic. @engcom-Dash's "Fix failed static tests" was doing real work: the Magento2 sniff warns on every |
…ers visibility
On a PDP with both upsell and related products with a limit set and a shared set of some of the products an issue could arise where products being hidden or shown by the related product js would impact the upsell products and vice versa.
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)