Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 1.03 KB

2022-08-10-fix-documents-template-changes-are-not-applied-correctly.md

File metadata and controls

19 lines (19 loc) · 1.03 KB
title issue
Fix documents template changes are not applied correctly
NEXT-19784

Core

  • Changed method \Shopware\Core\Checkout\Document\Twig\DocumentTemplateRenderer::render to resolve view path after dispatching DocumentTemplateRendererParameterEvent
  • Changed method \Shopware\Core\Framework\Framework::getTemplatePriority to return -1
  • Changed method \Shopware\Core\System\System::getTemplatePriority to return -1
  • Changed method \Shopware\Core\Profiling\Profiling::getTemplatePriority to return -2

Storefront

  • Added new class \Shopware\Storefront\Theme\SalesChannelThemeLoader to load theme of a given sales channel id
  • Changed class \Shopware\Storefront\Theme\Twig\ThemeNamespaceHierarchyBuilder to implement ResetInterface and add the reset method to reset internal $themes property

Administration

  • Changed method \Shopware\Administration\Administration::getTemplatePriority to return -1

Elasticsearch

  • Changed method \Shopware\Elasticsearch\Elasticsearch::getTemplatePriority to return -1