장바구니에서 배송비 선불/후불(착불) 선택 변경 정보
장바구니에서 배송비 선불/후불(착불) 선택 변경본문
shop/cartoption.php 파일을 수정하시면 됩니다.
<!--<input type="hidden" name="ct_send_cost" value="<?php echo $row2['ct_send_cost']; ?>">-->
<input type="hidden" name="sw_direct">
<?php
if($it['it_sc_type'] > '1' && $it['it_sc_method'] == '2') {
?>
<section class="tbl_wrap tbl_head02">
<h3>배송옵션</h3>
<table class="sit_ov_tbl">
<colgroup>
<col class="grid_3">
<col>
</colgroup>
<tbody>
<tr>
<th><label for="ct_send_cost">배송</label></th>
<td>
<select name="ct_send_cost" id="ct_send_cost">
<option value="0"<?php if($row2['ct_send_cost']=="0") echo " selected"; ?>>선불</option>
<option value="1"<?php if($row2['ct_send_cost']=="1") echo " selected"; ?>>착불</option>
</select>
<td>
</tr>
</tbody>
</table>
</section>
<?php
} else {
echo "<input type='hidden' name='ct_send_cost' value='".$row2['ct_send_cost']."'>";
}
?>
<!--<input type="hidden" name="ct_send_cost" value="<?php echo $row2['ct_send_cost']; ?>">-->
<input type="hidden" name="sw_direct">
<?php
if($it['it_sc_type'] > '1' && $it['it_sc_method'] == '2') {
?>
<section class="tbl_wrap tbl_head02">
<h3>배송옵션</h3>
<table class="sit_ov_tbl">
<colgroup>
<col class="grid_3">
<col>
</colgroup>
<tbody>
<tr>
<th><label for="ct_send_cost">배송</label></th>
<td>
<select name="ct_send_cost" id="ct_send_cost">
<option value="0"<?php if($row2['ct_send_cost']=="0") echo " selected"; ?>>선불</option>
<option value="1"<?php if($row2['ct_send_cost']=="1") echo " selected"; ?>>착불</option>
</select>
<td>
</tr>
</tbody>
</table>
</section>
<?php
} else {
echo "<input type='hidden' name='ct_send_cost' value='".$row2['ct_send_cost']."'>";
}
?>
추천
4
4
댓글 0개