장바구니에서 배송비 선불/후불(착불) 선택 변경
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']."'>";
}
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 2400 | |
| 2394 | |
| 2363 | |
| 2362 | |
| 2351 | |
| 2350 | |
| 2348 | |
| 2347 | |
| 2336 | |
| 2326 | |
| 2324 | |
| 2323 | |
| 2318 | |
| 2306 | |
| 2305 | |
| 2299 | |
| 2295 | |
| 2293 | |
| 2283 | |
| 2279 | |
| 2266 | |
| 2254 | |
| 2248 | |
| 2232 | |
| 2231 | |
| 2204 | |
| 2184 | |
| 2183 | |
| 2181 | |
| 2179 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기