Commit c74e783243cb726f1aa75a06da2729badc193c7f
1 parent
cc8b8c86
Import
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
common/modules/product/models/Import.php
... | ... | @@ -589,8 +589,7 @@ |
589 | 589 | $this->saveFotos($fotos, $_product->product_id); |
590 | 590 | // нужно для проставления характеристик относящихся к модификациям |
591 | 591 | |
592 | - $this->saveVariants($data, $product_cost_old, $_product->product_id, $_product->categories, $product_cost); | |
593 | - | |
592 | + $vars = $this->saveVariants($data, $product_cost_old, $_product->product_id, $_product->categories, $product_cost); | |
594 | 593 | // $_product->save(false); |
595 | 594 | |
596 | 595 | $result_items[] = "Product {$product_name_inserted} #{$_product->product_id} saved (" . ( $is_new_product ? 'new product' : 'exists product' ) . ")" . " (line $j)"; | ... | ... |