|
@@ 85-89 (lines=5) @@
|
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
// カートチェック |
| 85 |
|
if (count($cartService->getCart()->getCartItems()) <= 0) { |
| 86 |
|
log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
| 87 |
|
// カートが存在しない時はエラー |
| 88 |
|
return $app->redirect($app->url('cart')); |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
// 登録済みの受注情報を取得 |
| 92 |
|
$Order = $app['eccube.service.shopping']->getOrder($app['config']['order_processing']); |
|
@@ 969-973 (lines=5) @@
|
| 966 |
|
} |
| 967 |
|
|
| 968 |
|
// カートチェック |
| 969 |
|
if (count($cartService->getCart()->getCartItems()) <= 0) { |
| 970 |
|
// カートが存在しない時はエラー |
| 971 |
|
log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
| 972 |
|
return $app->redirect($app->url('cart')); |
| 973 |
|
} |
| 974 |
|
|
| 975 |
|
$builder = $app['form.factory']->createBuilder('nonmember'); |
| 976 |
|
|
|
@@ 1146-1150 (lines=5) @@
|
| 1143 |
|
} |
| 1144 |
|
|
| 1145 |
|
// カートチェック |
| 1146 |
|
if (count($cartService->getCart()->getCartItems()) <= 0) { |
| 1147 |
|
// カートが存在しない時はエラー |
| 1148 |
|
log_info('カートに商品が入っていないためショッピングカート画面にリダイレクト'); |
| 1149 |
|
return $app->redirect($app->url('cart')); |
| 1150 |
|
} |
| 1151 |
|
|
| 1152 |
|
/** @var \Eccube\Entity\Order $Order */ |
| 1153 |
|
$Order = $app['eccube.service.shopping']->getOrder($app['config']['order_processing']); |