Ctrl K
ComunidadGuías…

changelog/release-6-4-7-0/2021-10-20-sold-out-variants-should-be-grayed-out.md

Rama trunk · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
---
title: Sold out variants should be grayed out
issue: NEXT-15280
author_github: @Dominik28111
---
# Core
* Deprecated method `Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationResult::addCombination()`, parameter `$available`will be mandatory with 6.5.0.
* Changed method `Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationLoader::load()` to load stock and closeout of products to check whether it's available or not.
* Added method `Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationResult::isAvailable()`.
* Added property `$combinationDetails` to `Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationResult::isAvailable()`.