Skip to content

Commit

Permalink
Merge pull request #358 from stormearthfire/master
Browse files Browse the repository at this point in the history
Fixing scope issue with 'is_configurable' attribute setting'
  • Loading branch information
dweeves committed Nov 4, 2015
2 parents e59acdf + f5b4736 commit 7d94b5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions magmi/engines/magmi_productimportengine.php
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,9 @@ public function createAttributes($pid, &$item, $attmap, $isnew, $itemids)
//if is global then , global scope applies but if configurable, back to store view scope since
//it's a select
$scope=$attrdesc["is_global"];
if ($attrdesc["is_configurable"]==1) {
$scope=0;
}
if ($attrcode != "price" && $attrdesc["is_configurable"]==1) {
$scope=0;
}

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

Expand Down

0 comments on commit 7d94b5e

Please sign in to comment.