답변 1개
4년 전
lib\shop.lib.php 파일에서..
function get_it_stock_qty($it_id) 함수의 아래 부분 수정
</p>
<p> $sql = " select SUM(ct_qty) as sum_qty</p>
<p> from {$g5['g5_shop_cart_table']}</p>
<p> where it_id = '$it_id'</p>
<p> and io_id = ''</p>
<p> and ct_stock_use = 0</p>
<p> and ct_status in ('주문', '입금', '준비') </p>
<p> and ct_direct != 1 ";</p>
<p>
shop\cartupdate.php 에서 아래 부분 수정
</p>
<p> $sql = " select SUM(ct_qty) as cnt from {$g5['g5_shop_cart_table']}</p>
<p> where od_id <> '$tmp_cart_id'</p>
<p> and it_id = '$it_id'</p>
<p> and io_id = '{$row['io_id']}'</p>
<p> and io_type = '{$row['io_type']}'</p>
<p> and ct_stock_use = 0</p>
<p> and ct_status = '쇼핑'</p>
<p> and ct_select = '1' </p>
<p> and ct_direct != 1 ";</p>
<p>
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인