Skip to content

Wrong behavior for out-of-stock configurable products #37209

Open
@cptX

Description

@cptX

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:

  1. To be able to click on the striked-through selector.
  2. 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.
  3. The In Stock/Out of Stock label should be updated to "Out of stock" when an striked-through option/selection gets selected.
  4. 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:

  1. It's impossible to click on a striked-through selector.
  2. 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.
  3. The In Stock/Out of Stock label is not updated to "Out of stock" when a striked-through option/selection gets selected.
  4. 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

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions