diff --git a/magmi/engines/magmi_productimportengine.php b/magmi/engines/magmi_productimportengine.php index cf0070aa..93eaaf65 100755 --- a/magmi/engines/magmi_productimportengine.php +++ b/magmi/engines/magmi_productimportengine.php @@ -1619,10 +1619,10 @@ public function createAttributes($pid, &$item, $attmap, $isnew, $itemids) // get the item value $ivalue = $item[$attrcode]; // get item store id for the current attribute - //if is global then , global scope applies but if configurable, back to store view scope since - //it's a select + // if the attribute is global, then global scope applies. However, for select & multiselect + // attributes, we go back to the store view scope to allow for values translation $scope = $attrdesc["is_global"]; - if ($attrcode != "price" && $attrdesc["is_configurable"] == 1) + if ($attrcode != "price" && $attrdesc["is_global"] && ($attrdesc["frontend_input"] == 'select' || $attrdesc["frontend_input"] == 'multiselect')) { $scope = 0; } diff --git a/magmi/plugins/extra/itemprocessors/groupprice/grouppriceprocessor.php b/magmi/plugins/extra/itemprocessors/groupprice/grouppriceprocessor.php index aea97f09..3241bd32 100755 --- a/magmi/plugins/extra/itemprocessors/groupprice/grouppriceprocessor.php +++ b/magmi/plugins/extra/itemprocessors/groupprice/grouppriceprocessor.php @@ -57,7 +57,7 @@ public function processItemAfterId(&$item, $params = null) $inserts=array(); foreach ($group_cols as $key) { $price=str_replace(",", ".", $item[$key]); - if (!empty($price)) { + if (is_numeric($price)) { $group_id = $this->_groups[$key]['id']; foreach ($website_ids as $website_id) {