| @@ 84-88 (lines=5) @@ | ||
| 81 | } |
|
| 82 | ||
| 83 | // カートチェック |
|
| 84 | if (count($cartService->getCart()->getCartItems()) <= 0) { |
|
| 85 | log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
|
| 86 | // カートが存在しない時はエラー |
|
| 87 | return $app->redirect($app->url('cart')); |
|
| 88 | } |
|
| 89 | ||
| 90 | // 登録済みの受注情報を取得 |
|
| 91 | $Order = $app['eccube.service.shopping']->getOrder($app['config']['order_processing']); |
|
| @@ 942-946 (lines=5) @@ | ||
| 939 | } |
|
| 940 | ||
| 941 | // カートチェック |
|
| 942 | if (count($cartService->getCart()->getCartItems()) <= 0) { |
|
| 943 | // カートが存在しない時はエラー |
|
| 944 | log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
|
| 945 | return $app->redirect($app->url('cart')); |
|
| 946 | } |
|
| 947 | ||
| 948 | $builder = $app['form.factory']->createBuilder('nonmember'); |
|
| 949 | ||