Skip to content

Latest commit

 

History

History
22 lines (22 loc) · 1.75 KB

2022-07-11-remove-core-deps-from-product-combination-finder.md

File metadata and controls

22 lines (22 loc) · 1.75 KB
title issue author author_email author_github
Remove core dependencies from ProductCombinationFinder
NEXT-21968
Stefan Sluiter
ssltg

Storefront

  • Deprecated Shopware\Storefront\Page\Product\Configurator\ProductCombinationFinder. It will be removed in v6.5.0. Use Shopware\Core\Content\Product\SalesChannel\FindVariant\FindProductVariantRoute instead.
  • Deprecated Shopware\Storefront\Page\Product\Configurator\FoundCombination. It will be removed in v6.5.0. Use Shopware\Core\Content\Product\SalesChannel\FindVariant\FoundCombination instead.
  • Deprecated Shopware\Storefront\Page\Product\Configurator\AvailableCombinationResult. It will be removed in v6.5.0. Use Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationResult instead.
  • Deprecated ProductCombinationFinder as constructor parameter in Shopware\Storefront\Controller\ProductController.
  • Added FindProductVariantRoute as constructor parameter in Shopware\Storefront\Controller\ProductController.
  • Deprecated ProductCombinationFinder as constructor parameter in Shopware\Storefront\Controller\CmsController.
  • Added FindProductVariantRoute as constructor parameter in Shopware\Storefront\Controller\CmsController.

Core

  • Added Shopware\Core\Content\Product\SalesChannel\FindVariant\AbstractFindProductVariantRoute.
  • Added Shopware\Core\Content\Product\SalesChannel\FindVariant\FindProductVariantRoute. This route is used to find the matching variant for a given option combination of a product.
  • Added new store-api route /product/{productId}/find-variant
  • Added Shopware\Core\Content\Product\SalesChannel\FindVariant\FindProductVariantRouteResponse.
  • Added Shopware\Core\Content\Product\SalesChannel\FindVariant\FoundCombination.