Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 750 Bytes

2023-01-19-fix-snippet-problem-in-admin-api-and-store-api.md

File metadata and controls

9 lines (9 loc) · 750 Bytes
title issue
Fix snippet problem in Admin API and Store API
NEXT-24678

Core

  • Changed method \Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets to add 4th optional parameter $salesChannelId to indicate which sales channel should we get the snippets
  • Changed method \Shopware\Core\System\Snippet\SnippetService::getUnusedThemes to add 2nd parameter $usingThemes to filter out unused themes
  • Deprecated method \Shopware\Core\System\Snippet\SnippetService::getUnusedThemes as we will change it to private method from v6.6.0
  • Changed method \Shopware\Core\System\Snippet\SnippetService::fetchSnippetsFromDatabase to add second parameter $usingThemes as we want to fetch only snippets of using themes in cloud