답변 1개
/lib/shop.lib.php 파일에
get_sendcost 함수에 쿼리를 수정해주시면 되네요
and io_type!='1' 추가
$sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price,
SUM(ct_qty) as qty
from {$g5['g5_shop_cart_table']}
where it_id = '{$sc['it_id']}'
and od_id = '$cart_id'
and ct_status IN ( '쇼핑', '주문', '입금', '준비', '배송', '완료' )
and io_type!='1'
and ct_select = '$selected'";
io_type
0은 선택옵션
1은 추가 옵션
배송비 쿼리중 추가 옵션을 제외 시키는 거입니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인