장바구니에서 배송비 선불/후불(착불) 선택 변경
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']."'>";
}
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 2169 | |
| 2168 | |
| 2167 | |
| 2158 | |
| 2146 | |
| 2140 | |
| 2130 | |
| 2114 | |
| 2102 | |
| 2095 | |
| 2084 | |
| 2075 | |
| 2072 | |
| 2070 | |
| 2069 | |
| 2065 | |
| 2058 | |
| 2056 | |
| 2055 | |
| 2054 | |
| 2049 | |
| 2038 | |
| 2036 | |
| 1989 | |
| 1956 | |
| 1923 | |
| 1918 | |
| 1904 | |
| 1892 | |
| 1891 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기