diff --git a/common/modules/product/models/Import.php b/common/modules/product/models/Import.php index 4a2373b..b9006c9 100755 --- a/common/modules/product/models/Import.php +++ b/common/modules/product/models/Import.php @@ -553,6 +553,9 @@ } } else { $_product = new Product(); + if(!empty($parsed_name['remote_id'])) { + $_product->remote_id = $parsed_name['remote_id']; + } $_product->generateLangs(); $product_langs = $_product->model_langs; foreach($product_langs as $product_lang) { @@ -673,6 +676,9 @@ $taxGroup->level = $level; $taxGroup->categories = $catalog_names; $taxGroup->is_filter = false; + if(!empty($parsed_group_name['remote_id'])) { + $taxGroup->remote_id = $parsed_group_name['remote_id']; + } $taxGroup->save(false); } $filters_options = explode(',', $filter[ 2 ][ 0 ]); @@ -703,6 +709,9 @@ $option_lang->value = $parsed_option_name[ 'name' ]; } $option->tax_group_id = $taxGroup->tax_group_id; + if(!empty($parsed_option_name['remote_id'])) { + $option->remote_id = $parsed_option_name['remote_id']; + } $option->save(false); } $options[] = $option->tax_option_id; diff --git a/frontend/views/collection/view.php b/frontend/views/collection/view.php index 29ba4d7..772d706 100755 --- a/frontend/views/collection/view.php +++ b/frontend/views/collection/view.php @@ -52,7 +52,7 @@ - +
:: sku; -- libgit2 0.21.4