5.3 버전 내용 적용
This commit is contained in:
@ -36,25 +36,25 @@ include_once('./_head.php');
|
||||
|
||||
<!-- 장바구니 시작 { -->
|
||||
<script src="<?php echo G5_JS_URL; ?>/shop.js"></script>
|
||||
<script src="<?php echo G5_JS_URL; ?>/shop.override.js"></script>
|
||||
|
||||
<div id="sod_bsk">
|
||||
<div id="sod_bsk" class="od_prd_list">
|
||||
|
||||
<form name="frmcartlist" id="sod_bsk_list" method="post" action="<?php echo $cart_action_url; ?>">
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<form name="frmcartlist" id="sod_bsk_list" class="2017_renewal_itemform" method="post" action="<?php echo $cart_action_url; ?>">
|
||||
<div class="tbl_head03 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">상품이미지</th>
|
||||
<th scope="col">상품명</th>
|
||||
<th scope="col">총수량</th>
|
||||
<th scope="col">판매가</th>
|
||||
<th scope="col">소계</th>
|
||||
<th scope="col">포인트</th>
|
||||
<th scope="col">배송비</th>
|
||||
<th scope="col">
|
||||
<label for="ct_all" class="sound_only">상품 전체</label>
|
||||
<input type="checkbox" name="ct_all" value="1" id="ct_all" checked="checked">
|
||||
</th>
|
||||
<th scope="col">상품명</th>
|
||||
<th scope="col">총수량</th>
|
||||
<th scope="col">판매가</th>
|
||||
<th scope="col">포인트</th>
|
||||
<th scope="col">배송비</th>
|
||||
<th scope="col">소계</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -98,9 +98,9 @@ include_once('./_head.php');
|
||||
$continue_ca_id = $row['ca_id'];
|
||||
}
|
||||
|
||||
$a1 = '<a href="./item.php?it_id='.$row['it_id'].'"><b>';
|
||||
$a1 = '<a href="./item.php?it_id='.$row['it_id'].'" class="prd_name"><b>';
|
||||
$a2 = '</b></a>';
|
||||
$image = get_it_image($row['it_id'], 70, 70);
|
||||
$image = get_it_image($row['it_id'], 80, 80);
|
||||
|
||||
$it_name = $a1 . stripslashes($row['it_name']) . $a2;
|
||||
$it_options = print_item_options($row['it_id'], $s_cart_id);
|
||||
@ -136,21 +136,25 @@ include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="sod_img"><?php echo $image; ?></td>
|
||||
<td>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="hidden" name="it_name[<?php echo $i; ?>]" value="<?php echo get_text($row['it_name']); ?>">
|
||||
<?php echo $it_name.$mod_options; ?>
|
||||
</td>
|
||||
<td class="td_num"><?php echo number_format($sum['qty']); ?></td>
|
||||
<td class="td_numbig"><?php echo number_format($row['ct_price']); ?></td>
|
||||
<td class="td_numbig"><span id="sell_price_<?php echo $i; ?>"><?php echo number_format($sell_price); ?></span></td>
|
||||
<td class="td_numbig"><?php echo number_format($point); ?></td>
|
||||
<td class="td_dvr"><?php echo $ct_send_cost; ?></td>
|
||||
<td class="td_chk">
|
||||
<label for="ct_chk_<?php echo $i; ?>" class="sound_only">상품</label>
|
||||
<input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" id="ct_chk_<?php echo $i; ?>" checked="checked">
|
||||
</td>
|
||||
|
||||
<td class="td_prd">
|
||||
<div class="sod_img"><a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo $image; ?></a></div>
|
||||
<div class="sod_name">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="hidden" name="it_name[<?php echo $i; ?>]" value="<?php echo get_text($row['it_name']); ?>">
|
||||
<?php echo $it_name.$mod_options; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="td_num"><?php echo number_format($sum['qty']); ?></td>
|
||||
<td class="td_numbig text_right"><?php echo number_format($row['ct_price']); ?></td>
|
||||
<td class="td_numbig text_right"><?php echo number_format($point); ?></td>
|
||||
<td class="td_dvr"><?php echo $ct_send_cost; ?></td>
|
||||
<td class="td_numbig text_right"><span id="sell_price_<?php echo $i; ?>" class="total_prc"><?php echo number_format($sell_price); ?></span></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@ -167,27 +171,35 @@ include_once('./_head.php');
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btn_cart_del">
|
||||
<button type="button" onclick="return form_check('seldelete');">선택삭제</button>
|
||||
<button type="button" onclick="return form_check('alldelete');">비우기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$tot_price = $tot_sell_price + $send_cost; // 총계 = 주문상품금액합계 + 배송비
|
||||
if ($tot_price > 0 || $send_cost > 0) {
|
||||
?>
|
||||
<dl id="sod_bsk_tot">
|
||||
<?php if ($send_cost > 0) { // 배송비가 0 보다 크다면 (있다면) ?>
|
||||
<dt class="sod_bsk_dvr">배송비</dt>
|
||||
<dd class="sod_bsk_dvr"><strong><?php echo number_format($send_cost); ?> 원</strong></dd>
|
||||
<?php } ?>
|
||||
<div id="sod_bsk_tot">
|
||||
<ul>
|
||||
<li class="sod_bsk_dvr">
|
||||
<span>배송비</span>
|
||||
<strong><?php echo number_format($send_cost); ?></strong> 원
|
||||
</li>
|
||||
|
||||
<?php
|
||||
if ($tot_price > 0) {
|
||||
?>
|
||||
<li class="sod_bsk_pt">
|
||||
<span>포인트</span>
|
||||
<strong><?php echo number_format($tot_point); ?></strong> 점
|
||||
</li>
|
||||
|
||||
<dt class="sod_bsk_cnt">총계 가격/포인트</dt>
|
||||
<dd class="sod_bsk_cnt"><strong><?php echo number_format($tot_price); ?> 원 / <?php echo number_format($tot_point); ?> 점</strong></dd>
|
||||
<?php } ?>
|
||||
|
||||
</dl>
|
||||
<li class="sod_bsk_cnt">
|
||||
<span>총계 가격</span>
|
||||
<strong><?php echo number_format($tot_price); ?></strong> 원
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="sod_bsk_act">
|
||||
@ -198,9 +210,8 @@ include_once('./_head.php');
|
||||
<input type="hidden" name="records" value="<?php echo $i; ?>">
|
||||
<input type="hidden" name="act" value="">
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?php echo $continue_ca_id; ?>" class="btn01">쇼핑 계속하기</a>
|
||||
<button type="button" onclick="return form_check('buy');" class="btn_submit">주문하기</button>
|
||||
<button type="button" onclick="return form_check('seldelete');" class="btn01">선택삭제</button>
|
||||
<button type="button" onclick="return form_check('alldelete');" class="btn01">비우기</button>
|
||||
<button type="button" onclick="return form_check('buy');" class="btn_submit"><i class="fa fa-credit-card" aria-hidden="true"></i> 주문하기</button>
|
||||
|
||||
<?php if ($naverpay_button_js) { ?>
|
||||
<div class="cart-naverpay"><?php echo $naverpay_request_js.$naverpay_button_js; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user