#210 cart 테이블에 배송비와 지불형태 기록하도록 수정

This commit is contained in:
chicpro
2013-06-12 17:35:54 +09:00
parent 101ea0c39c
commit 7953c8f984
7 changed files with 39 additions and 66 deletions

View File

@ -343,22 +343,22 @@ else
<?php } ?>
<?php if($default['de_send_cost_case'] == '개별' && $it['it_sc_type'] != 0) { ?>
<tr>
<th><label for="ct_send_cost">배송비결제</label></th>
<th><label for="ct_send_cost2">배송비결제</label></th>
<td>
<?php
if($it['it_sc_method'] == 2) {
?>
<select name="ct_send_cost" id="ct_send_cost">
<option value="선불">주문시 결제</option>
<option value="착불">수령후 지불</option>
<select name="ct_send_cost2" id="ct_send_cost2">
<option value="0">주문시 결제</option>
<option value="1">수령후 지불</option>
</select>
<?php
} else {
if($it['it_sc_method']) {
echo '<input type="hidden" name="ct_send_cost" value="착불">';
echo '<input type="hidden" name="ct_send_cost2" value="1">';
echo '수령후 지불';
} else {
echo '<input type="hidden" name="ct_send_cost" value="선불">';
echo '<input type="hidden" name="ct_send_cost2" value="0">';
echo '주문시 결제';
}
}