Commit a2c12481ea8e69a54a8c54c498bda403fded798b
1 parent
424c7cdc
Ntr
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
common/modules/product/models/Import.php
@@ -111,17 +111,17 @@ class Import extends Model { | @@ -111,17 +111,17 @@ class Import extends Model { | ||
111 | continue; | 111 | continue; |
112 | } | 112 | } |
113 | // товары в пути | 113 | // товары в пути |
114 | - if (empty ($city_name)) | ||
115 | - { | 114 | +// if (empty ($city_name)) |
115 | +// { | ||
116 | // $this->saveNotFoundRecord ( | 116 | // $this->saveNotFoundRecord ( |
117 | // [$modification_code, $product_title], | 117 | // [$modification_code, $product_title], |
118 | // Yii::getAlias('@uploadFilePricesAway') | 118 | // Yii::getAlias('@uploadFilePricesAway') |
119 | // ); | 119 | // ); |
120 | - | ||
121 | - $this->output[] = 'Товар '. $product_title . ' в пути'; | ||
122 | - | ||
123 | - continue; | ||
124 | - } | 120 | +// |
121 | +// $this->output[] = 'Товар '. $product_title . ' в пути'; | ||
122 | +// | ||
123 | +// continue; | ||
124 | +// } | ||
125 | 125 | ||
126 | if ( ($productVariant = ProductVariant::find()->filterWhere(['sku' => $modification_code])->one()) === null ) { | 126 | if ( ($productVariant = ProductVariant::find()->filterWhere(['sku' => $modification_code])->one()) === null ) { |
127 | // 'Нет даной модификации в базе'; | 127 | // 'Нет даной модификации в базе'; |