|
@@ 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']); |
|
@@ 933-937 (lines=5) @@
|
| 930 |
|
} |
| 931 |
|
|
| 932 |
|
// カートチェック |
| 933 |
|
if (count($cartService->getCart()->getCartItems()) <= 0) { |
| 934 |
|
// カートが存在しない時はエラー |
| 935 |
|
log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
| 936 |
|
return $app->redirect($app->url('cart')); |
| 937 |
|
} |
| 938 |
|
|
| 939 |
|
$builder = $app['form.factory']->createBuilder('nonmember'); |
| 940 |
|
|
|
@@ 1108-1112 (lines=5) @@
|
| 1105 |
|
} |
| 1106 |
|
|
| 1107 |
|
// カートチェック |
| 1108 |
|
if (count($cartService->getCart()->getCartItems()) <= 0) { |
| 1109 |
|
// カートが存在しない時はエラー |
| 1110 |
|
log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
| 1111 |
|
return $app->redirect($app->url('cart')); |
| 1112 |
|
} |
| 1113 |
|
|
| 1114 |
|
/** @var \Eccube\Entity\Order $Order */ |
| 1115 |
|
$Order = $app['eccube.service.shopping']->getOrder($app['config']['order_processing']); |