title | issue |
---|---|
Fix storefront show incorrect snippets |
NEXT-22670 |
- Added new
Shopware\Core\System\Snippet\Files\AbstractSnippetFile
that implementsSnippetFileInterface
- Deprecated
Shopware\Core\System\Snippet\Files\SnippetFileInterface
, useAbstractSnippetFile
instead - Added a new property
$technicalName
inShopware\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
- Themes snippets are now only applied to Storefront sales channels when they or their child theme are assigned to that sales channel
- The interface
Shopware\Core\System\Snippet\Files\SnippetFileInterface
is deprecated, please useShopware\Core\System\Snippet\Files\AbstractSnippetFile
instead .