File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/ConfigurableProduct/Model/Product/Type Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ public function getConfigurableAttributes($product)
377
377
['group ' => 'CONFIGURABLE ' , 'method ' => __METHOD__ ]
378
378
);
379
379
if (!$ product ->hasData ($ this ->_configurableAttributes )) {
380
- $ cacheId = __CLASS__ . $ product ->getId ();
380
+ $ cacheId = __CLASS__ . $ product ->getId () . ' _ ' . $ product -> getStoreId () ;
381
381
$ configurableAttributes = $ this ->cache ->load ($ cacheId );
382
382
if ($ configurableAttributes ) {
383
383
$ configurableAttributes = unserialize ($ configurableAttributes );
@@ -595,7 +595,7 @@ public function beforeSave($product)
595
595
public function save ($ product )
596
596
{
597
597
parent ::save ($ product );
598
- $ cacheId = __CLASS__ . $ product ->getId ();
598
+ $ cacheId = __CLASS__ . $ product ->getId () . ' _ ' . $ product -> getStoreId () ;
599
599
$ this ->cache ->remove ($ cacheId );
600
600
601
601
$ extensionAttributes = $ product ->getExtensionAttributes ();
You can’t perform that action at this time.
0 commit comments