Skip to content

Commit

Permalink
Fixing scope issue with 'is_configurable' attribute setting - making …
Browse files Browse the repository at this point in the history
…separate case for price attribute
  • Loading branch information
stormearthfire committed Nov 2, 2015
1 parent f797dc0 commit f5b4736
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions magmi/engines/magmi_productimportengine.php
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +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 ($attrcode != "price" && $attrdesc["is_configurable"]==1) {
$scope=0;
}

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

Expand Down

0 comments on commit f5b4736

Please sign in to comment.