1) alert(get_text($it['it_name']).' 상품은 최소 '.number_format($it['it_buy_min_qty']).' 이상 구매하셔야 합니다.\\n상품페이지에서 다시 주문해 주십시오.', G5_SHOP_URL.'/item.php?it_id='.$it_id); // 옵션정보 if($io_id && $it['it_option_subject']) { $sql = " select * from {$g5['g5_shop_item_option_table']} where it_id = '$it_id' and io_id = '$io_id' "; $opt = sql_fetch($sql); $subj = explode(',', $it['it_option_subject']); $arr_opt = explode(chr(30), $io_id); if(count($subj) != count($arr_opt)) alert('상품의 옵션정보가 올바르지 않습니다.\\n상품페이지에서 다시 주문해 주십시오.', G5_SHOP_URL.'/item.php?it_id='.$it_id); $io_value = ''; $sep = ''; for($n=0; $n 1 && $it['it_sc_method'] == 1) $ct_send_cost = 1; // 착불 $_POST['it_id'][0] = $it['it_id']; $_POST['io_id'][$it['it_id']][0] = $opt['io_id']; $_POST['io_type'][$it['it_id']][0] = 0; $_POST['ct_qty'][$it['it_id']][0] = 1; $_POST['io_value'][$it['it_id']][0] = $io_value; $_POST['ct_send_cost'] = $ct_send_cost; include_once(G5_SHOP_PATH.'/cartupdate.php'); ?>