Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 948 Bytes

2022-08-02-fix-storefront-show-incorrect-snippets.md

File metadata and controls

15 lines (15 loc) · 948 Bytes
title issue
Fix storefront show incorrect snippets
NEXT-22670

Core

  • Added new Shopware\Core\System\Snippet\Files\AbstractSnippetFile that implements SnippetFileInterface
  • Deprecated Shopware\Core\System\Snippet\Files\SnippetFileInterface, use AbstractSnippetFile instead
  • Added a new property $technicalName in Shopware\Core\System\Snippet\Files\GenericSnippetFile to show the technical name of the app or plugin that snippets belong to
  • Changed method \Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets to filter out unused themes snippets

Upgrade Information

  • Themes snippets are now only applied to Storefront sales channels when they or their child theme are assigned to that sales channel

Next Major Version Changes

  • The interface Shopware\Core\System\Snippet\Files\SnippetFileInterface is deprecated, please use Shopware\Core\System\Snippet\Files\AbstractSnippetFile instead .