diff --git a/shop/cartupdate.php b/shop/cartupdate.php index 7046df87b..e8ff31846 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -271,11 +271,7 @@ else // 장바구니에 담기 if ((int)$_POST['total_price'] !== (int)$total_price) die("Error.."); - if($it['it_point_type']) { - $point = floor(($it['it_price'] * ($it['it_point'] / 100) / 10)) * 10; - } else { - $point = $it['it_point']; - } + $point = get_item_point($it); // 포인트가 다름 if ((int)$point !== (int)$_POST['it_point'] && $config['cf_use_point']) die("Error...");