| @@ 309-316 (lines=8) @@ | ||
| 306 | $tmp_subtotal += $CurrentCartItem->getTotalPrice(); |
|
| 307 | } |
|
| 308 | } |
|
| 309 | for ($i = 0; $i < $quantity; $i++) { |
|
| 310 | $tmp_subtotal += $ProductClass->getPrice02IncTax(); |
|
| 311 | if ($tmp_subtotal > $this->app['config']['max_total_fee']) { |
|
| 312 | $this->setError('cart.over.price_limit'); |
|
| 313 | break; |
|
| 314 | } |
|
| 315 | $tmp_quantity++; |
|
| 316 | } |
|
| 317 | if ($tmp_quantity == 0) { |
|
| 318 | // 数量が0の場合、エラー |
|
| 319 | throw new CartException('cart.over.price_limit'); |
|
| @@ 450-457 (lines=8) @@ | ||
| 447 | $tmp_subtotal += $cartitem->getTotalPrice(); |
|
| 448 | } |
|
| 449 | } |
|
| 450 | for ($i = 0; $i < $quantity; $i++) { |
|
| 451 | $tmp_subtotal += $ProductClass->getPrice02IncTax(); |
|
| 452 | if ($tmp_subtotal > $this->app['config']['max_total_fee']) { |
|
| 453 | $this->setError('cart.over.price_limit'); |
|
| 454 | break; |
|
| 455 | } |
|
| 456 | $tmp_quantity++; |
|
| 457 | } |
|
| 458 | if ($tmp_quantity == 0) { |
|
| 459 | // 数量が0の場合、エラー |
|
| 460 | throw new CartException('cart.over.price_limit'); |
|