Skip to content

Second swatch for out-of-stock doesn't get striked-out #37357

Closed
@cptX

Description

@cptX

Preconditions and environment

Magento version 2.4.6
Luma Theme
Elasticsuite 2.11.0

Steps to reproduce

Create a configurable product with two attributes color and size.
Let's say that pink helmet is available but only in M size.
The out-of-stock colors are correctly striked-out (bug from 2.4.5 corrected in 2.4.6).
But the out-of-stock sizes don't get striked out.
So the customer can see which colors are available but when selecting a color cannot see which sizes are available as all of them show as in stock...

if the customer selects a color and then a size which with this combination is out of stock and clicks 'Add to Cart' then receives the message "There are no source items with the in stock status".

In the following example the pink helmet is only available in M size. Both S and L sizes show as available without strike out. Also the availability on the top right always shows as in stock which is very misleading...

image

Expected result

Both visual and text swatches should have the ability to get striked-out when out-of-stock.

Actual result

Now only visual swatches can get striked-out when out-of-stock. Text swatches never get striked-out

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

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.6Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions