주문내역에서 배송 변경시 재고 반영 되지 않던 문제 수정

This commit is contained in:
chicpro
2013-11-07 11:59:56 +09:00
parent c4f91d62db
commit d17fa482ed

View File

@ -111,7 +111,7 @@ function order_update_delivery($od_id, $mb_id, $change_status, $delivery)
subtract_io_stock($row['it_id'], $row['ct_qty'], $row['io_id'], $row['io_type']);
$stock_use = 1;
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where od_id = '{$row['ct_id']}' ";
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where ct_id = '{$row['ct_id']}' ";
sql_query($sql);
}
}