Description
Preconditions and environment
- Magento version 2.4.6
Steps to reproduce
Create a configurable product with some children.
Then set one child as out of stock.
In Magento 2.4.6 the out of stock item will have a diagonal line on the selector. In 2.4.5 there was a bug and no line was visible, but in 2.4.6 it's corrected.
The expected behavior should be to be able to select the striked-through selector, the image to change but to write Out Of Stock instead of In Stock. If this would be possible the customer also has the chance to request an email notification for the out of stock product. Now this is impossible, as he cannot select the out of stock product at all.
UPDATE: I discovered another wrong behavior which I mention here #37357 . I suggest the people who will try to solve these issues to study them together with the hope to solve them as a whole and not partially...
Expected result
The correct behavior should be:
- To be able to click on the striked-through selector.
- The striked-through selector after being selected should update the image of the product shown, giving the change to the customer to see how this option/selection looks like. Now is impossible the customer to view the out of stock product.
- The In Stock/Out of Stock label should be updated to "Out of stock" when an striked-through option/selection gets selected.
- The email notification should be available for the option/selection that is out of stock. Now it's not available at all.
Actual result
Now we have the following problems:
- It's impossible to click on a striked-through selector.
- The striked-through selector after being selected is not updating the image of the product shown, so the customer has no chance to see how this option/selection looks like.
- The In Stock/Out of Stock label is not updated to "Out of stock" when a striked-through option/selection gets selected.
- The email notification is not even available on a configurable product that is out of stock. So there is no chance for the customer to get notified when a out-of-stock configurable product gets back to stock.
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Activity
m2-assistant commentedon Mar 14, 2023
Hi @cptX. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 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, join the Community Contributions Triage session to discuss the appropriate ticket.
m2-assistant commentedon Mar 15, 2023
Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.- If the issue is reproducible on
2.4-develop
branch, please, add the labelReproduced on 2.4.x
.- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
Issue: Confirmed
once verification is complete.chernenm commentedon Mar 15, 2023
Hello @cptX,
Thank you for reporting this. This looks like a new feature request to me rather than an issue.
cptX commentedon Mar 15, 2023
Hi @chernenm, I don't have the chance to know what was the previous behavior. My first version with Magento was 2.4.5 and there to my surprise strike-through was not even working.
To me is a bug as it doesn't allow you to get email notifications.
I really don't understand how other people are happy with the existing behavior... How can a customer see the out-of-stock item and be prepared to buy it when back in stock if 1. we don't show him the item and 2. he cannot get notified for it?
engcom-November commentedon Mar 16, 2023
Hi @cptX ,

Verified the issue on both Magento 2.4-develop and 2.4.6 instances and the issue is reproducible.
Unable to select the crossed out swatch (Out of stock child product) Hence out of stock status is not displayed and image is not getting changed. Updating the description and confirming the issue.
Thank you.
github-jira-sync-bot commentedon Mar 16, 2023
✅ Jira issue https://jira.corp.adobe.com/browse/AC-8291 is successfully created for this GitHub issue.
m2-assistant commentedon Mar 16, 2023
✅ Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
22 remaining items