Skip to content

Commit 7d94b5e

Browse files
committed
Merge pull request #358 from stormearthfire/master
Fixing scope issue with 'is_configurable' attribute setting'
2 parents e59acdf + f5b4736 commit 7d94b5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

magmi/engines/magmi_productimportengine.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -944,9 +944,9 @@ public function createAttributes($pid, &$item, $attmap, $isnew, $itemids)
944944
//if is global then , global scope applies but if configurable, back to store view scope since
945945
//it's a select
946946
$scope=$attrdesc["is_global"];
947-
if ($attrdesc["is_configurable"]==1) {
948-
$scope=0;
949-
}
947+
if ($attrcode != "price" && $attrdesc["is_configurable"]==1) {
948+
$scope=0;
949+
}
950950

951951
$store_ids = $this->getItemStoreIds($item, $scope);
952952

0 commit comments

Comments
 (0)