Photo of the unavailable variant is displayed. #3436
Labels
3: Medium complexity
bug
Bug reports
P3: Normal
Priority mark - normal priority
QA approved after merge
Testers will add this label after positive check on merged changes
vs-hackathon
Tasks for the Hackathon
Milestone
Relates to:
#3298
Current behavior
In the following configuration, where:
filterUnavailableVariants
=true
configurableChildrenStockPrefetchStatic
=true
configurableChildrenStockPrefetchDynamic
=true
when I open a product with an unavailable option directly via the URL - then it's OK → unavailable variant is removed from the list. BUT when I open this product (with the unavailable variant) from the Home page or category page, then I see photo of the unavailable variant.
(after refreshing the page - variant disappears)
Expected behavior
Out-of-stock variant should not be displayed - in this case picture with unavailable color/size shouldn't be displayed.
Out-of-stock variants should be removed from the available variants list.
Steps to reproduce the issue
Gwyn Endurance Tee
product (black blouse) fromEverything new
section on Home PageRepository
Can you handle fixing this bug by yourself?
Which Release Cycle state this refers to? Info for developer.
Pick one option.
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
.release
branch and create Pull Request3. Stabilisation fix
back torelease
.hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.Environment details
Additional information
The text was updated successfully, but these errors were encountered: