@@ 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']); |
|
@@ 946-950 (lines=5) @@ | ||
943 | } |
|
944 | ||
945 | // カートチェック |
|
946 | if (count($cartService->getCart()->getCartItems()) <= 0) { |
|
947 | // カートが存在しない時はエラー |
|
948 | log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
|
949 | return $app->redirect($app->url('cart')); |
|
950 | } |
|
951 | ||
952 | $builder = $app['form.factory']->createBuilder('nonmember'); |
|
953 | ||
@@ 1121-1125 (lines=5) @@ | ||
1118 | } |
|
1119 | ||
1120 | // カートチェック |
|
1121 | if (count($cartService->getCart()->getCartItems()) <= 0) { |
|
1122 | // カートが存在しない時はエラー |
|
1123 | log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
|
1124 | return $app->redirect($app->url('cart')); |
|
1125 | } |
|
1126 | ||
1127 | /** @var \Eccube\Entity\Order $Order */ |
|
1128 | $Order = $app['eccube.service.shopping']->getOrder($app['config']['order_processing']); |