-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Size swatches for sold out sizes missing in frontend #30046
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
Comments
Hi @MichaelThessel. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please 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 |
Really didn't want to leave a +1 type response here, but given the lack of attention this seems to have received over the last year or two I feel obliged to say that this is a real point of pain not just for us but apparently plenty of others too. We'd all highly value a fix for this. Especially given in a recent upgrade from 2.2 to 2.3/2.4 previous workarounds we had in place are no longer working, it seems there are issues with community provided solutions too now. |
Hi @engcom-Alfa. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Alfa. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Alfa, here is your Magento Instance: https://11b5ffe465b673eb8224822ddfaf5ff4-2-4-develop.instances.magento-community.engineering |
Hi @MichaelThessel . Unfortunately, we can't reproduce this issue on fresh 2.4-develop. Manual testing scenario:
Actual Result: ✔️ Out of stock sizes show in frontend as crossed out swatch @MichaelThessel Are you able to reproduce this issue on a fresh 2.4-develop instance? |
I dont know, if its the same issue, but all the swatches will be removed (instead of greyed out), if you set all sizes qty to 0 |
@magento give me 2.4-develop instance |
Hi @nordcomputer. Thank you for your request. I'm working on Magento instance for you. |
Indeed. Basically hiding/showing of swatches based on the show/hide out of stock products config option is only half implemented. It should be obeyed fully in all scenarios or not at all. |
@nordcomputer @joshdavenport +1 this behaviour is incredibly annoying and has gone on for too long for what is now a standard feature. I've created a separate issue here which I believe better addresses this scenario, as OP's refers to something different. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
I think, this behavior is still a thing...(magento 2.4.2) - so, I guess the stale-bot is wrong.... |
I commented in a related issue, but I post here as well. I feel as though this is related to functionality using:
I wrote some code that used this method and then had to change it because when no options are available, the attribute is not recognized as a swatch attribute, so logic with comparisons will not work. |
Commenting to create activity. |
I hope magento actually shows some interest on fixing this, they can say it's not a bug if they want, but just not giving a configuration that others e-commerce platforms provide feels wrong, plain and simple |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Still relevant |
Still relevant ... |
fix this please |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @MichaelThessel , Issue is not reproducible on Magento 2.4 Develop. Hence closed. |
@magento give me 2.4-develop instance |
Hi @nordcomputer. Thank you for your request. I'm working on Magento instance for you. |
Hi @nordcomputer, here is your Magento Instance: https://11b5ffe465b673eb8224822ddfaf5ff4-2-4-develop.instances.magento-community.engineering |
@magento give me 2.4-develop instance without extensions magento/module-two-factor-auth |
Hi @nordcomputer, unfortunately there is no ability to deploy |
@magento give me 2.4-develop without extensions magento/module-two-factor-auth instance |
Hi @nordcomputer, unfortunately there is no ability to deploy |
@engcom-Delta - are you sure, that it is not reproducible? |
Getting reports in a recently upgrade 2.3 to 2.4 instance that this issue is cropping up again. I definitely recall seeing the issue no longer present in the instance provided to me here #30046 (comment) so this is pretty confusing. Not sure if this has be re-introduced, or if there's perhaps a common customisation that introduces this issue, or who knows what. @engcom-Delta any way that we can get @nordcomputer a 2.4 instance where 2fa isn't present or works so that they can re-verify this issue? Perhaps I missed something last year. |
Still not working. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
This behavior is also inconsistent with config products with multiple colors. In that case the sizes render correctly with the option crossed out. In addition I think this should be independent from "Display Out of Stock Products". Either it always should show the crossed out swatches or this should be an independent config option.
This issue has been reported tons of times already but always has been closed incorrectly. Here a few examples:
#26673
#10454
#23196
#23196
Based on the ongoing activity in these tickets and that people keep filing tickets you can see that this still affects multiple users. This behavior is not only inconsistent with multi color config products but also with any other e-commerce platform out there. This is not only a visual problem but it actually prevents me from building additional functionality that depends on these options to be visible in the front end.
The text was updated successfully, but these errors were encountered: