Open cptX opened 1 year ago
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. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: 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.
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: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hello @cptX,
Thank you for reporting this. This looks like a new feature request to me rather than an issue.
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?
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.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-8291 is successfully created for this GitHub issue.
:white_check_mark: 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.
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.
Also important to note is that there is no option to register for an email notification when child product is back in stock!
Surprised the dev team considered the cross-through as a bug as I'm pretty sure it has been like this since 2.4.0 and before, so it's intended I think, as @chernenm mentioned. But I'm definitely not complaining as I agree 100%, having the option to click on it and it show out of stock but change the image to that variation would be much better. So that will be nice to get changed.
Also important to note is that there is no option to register for an email notification when child product is back in stock!
@cptX This is also more of a feature request. I can't ever remember that being an option for variation/children products - unfortunately. So you may wish to open a 'feature request' in the feature request section of Magento (when you click create new bug it has an option to choose feature request instead) as it will get noticed quicker and maybe, hopefully, they'll implement that. I know this is not the preferred solution but if you really want the feature now (though not sure if it is compatible with the newly 2.4.6 release) you could look into something like this:
https://bsscommerce.com/magento-2-out-of-stock-notification-extension.html
It will do everything you're looking for (allowing to click the out of stock items now and also allows the customer to subscribe to out of stock variations). But I do completely agree, this exact feature should be built right in. I always wondered why there is no way to subscribe to a stock notification for the variation products (we can for simple products) and would be nice to not need an extension. (ps. I don't know how well that extension I linked above works - I don't use any extension for this feature I was simply showing a search result for this that I found, hence there are ways to get this feature now if you don't want to wait 8+ months for Magento devs to implement it, if they even do)
Guys, as a bug it would have for sure more chance to be corrected faster than declared as a feature request. So please don't insist convincing everybody that it's by design. To my eyes it's clearly a bug as this self-evident function (to view the out-of-stock product) should be profoundly available. These two functions: to view the product that is out of stock and to be able to get notification when it will be back in stock is simple and basic stuff in other frameworks. Makes no sense for magento to lack this functionality.
Wow ok I tried to be nice.
You clearly have no clue what the difference between a "bug" and a "feature request" means.
A feature that is ALREADY part of the system that is not working as intended. Currently a feature that is already implemented and is BROKEN. A feature that is supposed to be working that is already coded to be part of the system.
A feature that is NOT ALREADY part of the system. A feature that is MISSING. A feature that is not yet coded to be in the system.
Like wow. First, I already agreed on both points that they should be there (and the MAGE DEVS AGREE WITH YOU about the clicking the out-of-stock swatch as a BUG....). Second, neither have BEEN IN THE SYSTEM AS FAR BACK AS I CAN REMEMBER (2.4.0 to now maybe even before 2.4.0). It doesn't matter what you think if it SHOULD BE THERE or not. It is not there. Which means it IS A FEATURE REQUEST. I get that you demand it to be there now but sorry it doesn't work like that. Go to another system then. As a comparison, WooCommerce, the largest by marketshare, does not have this "feature" built-in either (to be notified of out-of-stock for variation products - YES it does have the feature to click on the out-of-stock variation but NOT to be notified - something like SUMO Waitlist is required). You MUST use a plugin. I'm unaware of any other ecommerce store that has the feature to be notified "built-in", a plugin/extension is required. If there is GREAT, use that. But this system does NOT have that feature currently. Call it oversight, call it whatever you want, but it's NOT THERE.
Throwing a fit because you want it to be part of the system now and think it NEEDS to be doesn't solve or help anything. It just simply isn't there. Go to another system or get an extension. Or as was already said submit a feature request. Like wow smh.
Don't tag me after this because I won't reply - I'm also unsubscribing from this topic. Just ridiculous.
One question please: the In Stock/Out of Stock label on the top right is it supposed to ever change in a configurable product or always stays fixed to In Stock, because what I see is that in a configurable product never changes to Out-of-Stock. For example if you have both color and size attribute in the combination that is out-of-stock it still says in stock as I have reported this issue here: https://github.com/magento/magento2/issues/37357 Not sure if this is correlated to the current issue...
@magento I am working on this
This issue is under development by an internal team. The fix will be delivered to the mainline according to our processes once done, and the status of this issue will be updated. If there are any incomplete Pull Requests to this issue and the community code will be re-used, all original commits will be preserved.
The process of development is still ongoing. Internal team identifying the common solution for all use-cases.
@lakshmana49 Thanks for the feedback. Are you in the internal team?
@cptX Yes, I am from the internal team.
Preconditions and environment
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 https://github.com/magento/magento2/issues/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:
Actual result
Now we have the following problems:
Additional information
No response
Release note
No response
Triage and priority