diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index c66b6d5eb..716bbe7d5 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -20,7 +20,7 @@ else 상품이미지 상품명 - 수량 + 총수량 판매가 소계 포인트 @@ -62,7 +62,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) { // 합계금액 계산 $sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price, - SUM(ct_point * ct_qty) as point + SUM(ct_point * ct_qty) as point, + SUM(ct_qty) as qty from {$g4['shop_cart_table']} where it_id = '{$row['it_id']}' "; $sum = sql_fetch($sql); @@ -122,15 +123,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) - - '; - else - echo ''.$row['ct_qty'].''; - ?> - +