From 64d05f3c162319ff9dec9555e2e80d42a6403e6c Mon Sep 17 00:00:00 2001 From: Seasoft Date: Thu, 13 Sep 2018 07:12:55 +0900 Subject: [PATCH] =?UTF-8?q?#87=20SC=5FCartSession=20=E5=86=85=E3=81=AE?= =?UTF-8?q?=E9=85=8D=E5=88=97=E8=A6=81=E7=B4=A0=E3=81=AE=E6=89=B1=E3=81=84?= =?UTF-8?q?=E3=81=8C=E6=80=AA=E3=81=97=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/class/SC_CartSession.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/class/SC_CartSession.php b/data/class/SC_CartSession.php index e79cb97240..8d09c25af1 100644 --- a/data/class/SC_CartSession.php +++ b/data/class/SC_CartSession.php @@ -371,7 +371,7 @@ public function setCartSession4getCartList($productTypeId, $key) $quantity = $this->cartSession[$productTypeId][$key]['quantity']; $incTax = SC_Helper_TaxRule_Ex::sfCalcIncTax($price, $this->cartSession[$productTypeId][$key]['productsClass']['product_id'], - $this->cartSession[$productTypeId][$key]['id'][0]); + $this->cartSession[$productTypeId][$key]['id']); $total = $incTax * $quantity; @@ -638,7 +638,7 @@ public function checkProducts($productTypeId) $this->setProductValue($arrItem['id'], 'quantity', $limit, $productTypeId); $total_inctax = $limit * SC_Helper_TaxRule_Ex::sfCalcIncTax($arrItem['price'], $product['product_id'], - $arrItem['id'][0]); + $arrItem['id']); $this->setProductValue($arrItem['id'], 'total_inctax', $total_inctax, $productTypeId); $tpl_message .= '※「' . $product['name'] . '」は販売制限(または在庫が不足)しております。'; $tpl_message .= "一度に数量{$limit}を超える購入はできません。\n";