title | issue |
---|---|
Refactoring Product Detail CMS Resolvers |
NEXT-12990 |
- Added
Shopware\Core\Content\Cms\SalesChannel\Struct\ManufacturerLogoStruct
to handle data formanufacturer-logo
cms element. - Added a new abstract
Shopware\Core\Content\Product\Cms\AbstractProductDetailCmsElementResolver
to provide a commoncollect
method for Product detail cms elements. - Added
SalesChannelCmsPageLoaderInterface
andSalesChannelProductDefinition
as dependencies forShopware\Core\Content\Product\SalesChannel\Detail\ProductDetailRoute
to load CMS Page for a product entity if .
- Changed method
Shopware\Storefront\Page\Product\ProductPageLoader::load
to load cmsPage from ProductDetailRoute and do not load reviews and cross-sellings in this loader.