상품이미지
상품명
총수량
판매가
소계
포인트
상품 전체
'$ctime' "; } $sql .= " group by a.it_id "; $sql .= " order by a.ct_id "; $result = sql_query($sql); $it_send_cost = 0; 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_qty) as qty from {$g5['g5_shop_cart_table']} where it_id = '{$row['it_id']}' and od_id = '$s_cart_id' "; $sum = sql_fetch($sql); if ($i==0) { // 계속쇼핑 $continue_ca_id = $row['ca_id']; } $a1 = '
'; $a2 = '
'; $image = get_it_image($row['it_id'], 70, 70); $it_name = $a1 . stripslashes($row['it_name']) . $a2; $it_options = print_item_options($row['it_id'], $s_cart_id); if($it_options) { $mod_options = '
선택사항수정
'; $it_name .= '
'.$it_options.'
'; } $point = $sum['point']; $sell_price = $sum['price']; ?>
상품
장바구니에 담긴 상품이 없습니다.
'; } else { // 배송비 계산 $send_cost = get_sendcost($s_cart_id, 0); } ?>
0 || $send_cost > 0) { ?>
0) { // 배송비가 0 보다 크다면 (있다면) ?>
배송비
원
0) { ?>
총계
원 점
쇼핑 계속하기
장바구니의 상품을 주문하시려면
주문하기
를 클릭하세요.
비우기
는 장바구니의 상품을 모두 비웁니다.
쇼핑 계속하기
주문하기
선택삭제
비우기