장바구니에서 배송비 선불/후불(착불) 선택 변경
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']."'>";
}
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 1634 | |
| 1632 | |
| 1631 | |
| 1630 | |
| 1629 | |
| 1625 | |
| 1608 | |
| 1595 | |
| 1578 | |
| 1571 | |
| 1567 | |
| 1561 | |
| 1560 | |
| 1558 | |
| 1555 | |
| 1554 | |
| 1553 | |
| 1552 | |
| 1551 | |
| 1547 | |
| 1538 | |
| 1531 | |
| 1527 | |
| 1523 | |
| 1522 | |
| 1512 | |
| 1511 | |
| 1506 | |
| 1503 | |
| 1489 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기