|
@@ 125-128 (lines=4) @@
|
| 122 |
|
$this->addErrors(($data->key() + 1) . '行目の商品IDが存在しません。'); |
| 123 |
|
return $this->render($app, $form, $headers, $this->productTwig); |
| 124 |
|
} |
| 125 |
|
} else { |
| 126 |
|
$this->addErrors(($data->key() + 1) . '行目の商品IDが存在しません。'); |
| 127 |
|
return $this->render($app, $form, $headers, $this->productTwig); |
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
} |
| 131 |
|
|
|
@@ 189-192 (lines=4) @@
|
| 186 |
|
} else { |
| 187 |
|
if ($row['商品削除フラグ'] == (string)Constant::DISABLED || $row['商品削除フラグ'] == (string)Constant::ENABLED) { |
| 188 |
|
$Product->setDelFlg($row['商品削除フラグ']); |
| 189 |
|
} else { |
| 190 |
|
$this->addErrors(($data->key() + 1) . '行目の商品削除フラグが設定されていません。'); |
| 191 |
|
return $this->render($app, $form, $headers, $this->productTwig); |
| 192 |
|
} |
| 193 |
|
} |
| 194 |
|
|
| 195 |
|
// 商品画像登録 |