Commit e007922e7f0fba55ddc088c1e0809a2fd81eb739

Authored by Yarik
1 parent 7a49ddba

Import browser beta v0.1

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
common/modules/product/models/Import.php
@@ -576,7 +576,8 @@ @@ -576,7 +576,8 @@
576 $product_name_inserted = $_product->model_langs[ Language::$current->language_id ]->name; 576 $product_name_inserted = $_product->model_langs[ Language::$current->language_id ]->name;
577 } 577 }
578 578
579 - if(!$_product->save() || !$_product->transactionStatus) { 579 + var_dump($_product->save()); die();
  580 + if(!$_product->transactionStatus) {
580 $result_items[] = 'Product #' . $product_name_inserted . ' not saved' . " (line $j)"; 581 $result_items[] = 'Product #' . $product_name_inserted . ' not saved' . " (line $j)";
581 continue; 582 continue;
582 } 583 }