Skip to content

Commit c93133c

Browse files
committed
MAGETWO-50681: Merge mainline develop branch and stabilize bamboo builds
1 parent 900634a commit c93133c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public function getConfigurableAttributes($product)
377377
['group' => 'CONFIGURABLE', 'method' => __METHOD__]
378378
);
379379
if (!$product->hasData($this->_configurableAttributes)) {
380-
$cacheId = __CLASS__ . $product->getId();
380+
$cacheId = __CLASS__ . $product->getId() . '_' . $product->getStoreId();
381381
$configurableAttributes = $this->cache->load($cacheId);
382382
if ($configurableAttributes) {
383383
$configurableAttributes = unserialize($configurableAttributes);
@@ -595,7 +595,7 @@ public function beforeSave($product)
595595
public function save($product)
596596
{
597597
parent::save($product);
598-
$cacheId = __CLASS__ . $product->getId();
598+
$cacheId = __CLASS__ . $product->getId() . '_' . $product->getStoreId();
599599
$this->cache->remove($cacheId);
600600

601601
$extensionAttributes = $product->getExtensionAttributes();

0 commit comments

Comments
 (0)