We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207c170 commit 65352c7Copy full SHA for 65352c7
app/code/Magento/StoreGraphQl/Model/Resolver/Stores/ConfigIdentity.php
@@ -50,9 +50,9 @@ public function getIdentities(array $resolvedData): array
50
}
51
52
$storeGroupCount = count($storeGroups);
53
- if ($storeGroupCount > 1 && $store !== null) {
+ if ($storeGroupCount > 1) { // the resolved stores for any store groups in a website
54
$ids[] = sprintf('%s_%s', StoreConfigIdentity::CACHE_TAG, 'website_' . $store->getWebsiteId());
55
- } elseif ($storeGroupCount == 1 && $store !== null) {
+ } elseif ($storeGroupCount == 1) { // the resolved stores for a particular store group in a website
56
$ids[] = sprintf(
57
'%s_%s',
58
StoreConfigIdentity::CACHE_TAG,
0 commit comments