Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Latest commit

 

History

History
11 lines (11 loc) · 788 Bytes

2021-01-12-refactoring-product-detail-cms-resolvers.md

File metadata and controls

11 lines (11 loc) · 788 Bytes
title issue
Refactoring Product Detail CMS Resolvers
NEXT-12990

Core

  • Added Shopware\Core\Content\Cms\SalesChannel\Struct\ManufacturerLogoStruct to handle data for manufacturer-logo cms element.
  • Added a new abstract Shopware\Core\Content\Product\Cms\AbstractProductDetailCmsElementResolver to provide a common collect method for Product detail cms elements.
  • Added SalesChannelCmsPageLoaderInterface and SalesChannelProductDefinition as dependencies for Shopware\Core\Content\Product\SalesChannel\Detail\ProductDetailRoute to load CMS Page for a product entity if .

Storefront

  • Changed method Shopware\Storefront\Page\Product\ProductPageLoader::load to load cmsPage from ProductDetailRoute and do not load reviews and cross-sellings in this loader.