#210 cart 테이블에 배송비 지불방법만 기록하도록 수정

This commit is contained in:
chicpro
2013-06-13 13:48:35 +09:00
parent 1347cb9654
commit 79adb5d9b4
11 changed files with 71 additions and 49 deletions

View File

@ -347,24 +347,16 @@ else
<?php } ?>
<?php if($default['de_send_cost_case'] == '개별' && $it['it_sc_type'] != 0) { ?>
<tr>
<th><label for="ct_send_cost2">배송비결제</label></th>
<th><label for="ct_send_cost">배송비결제</label></th>
<td>
<?php
if($it['it_sc_method'] == 2) {
?>
<select name="ct_send_cost2" id="ct_send_cost2">
<select name="ct_send_cost" id="ct_send_cost">
<option value="0">주문시 결제</option>
<option value="1">수령후 지불</option>
</select>
<?php
} else {
if($it['it_sc_method']) {
echo '<input type="hidden" name="ct_send_cost2" value="1">';
echo '수령후 지불';
} else {
echo '<input type="hidden" name="ct_send_cost2" value="0">';
echo '주문시 결제';
}
}
?>
</td>
@ -585,7 +577,7 @@ else
<div id="itemuse"></div>
<script>
$(function(){
$("#itemuse").load("./itemuse.php", {it_id:<?php echo $it_id; ?>});
$("#itemuse").load("./itemuse.php", {it_id:"<?php echo $it_id; ?>"});
});
</script>
</section>