네이버페이 적용

This commit is contained in:
chicpro
2016-07-25 10:35:42 +09:00
parent 1935e0d328
commit 6703c0862a
23 changed files with 1278 additions and 4 deletions

View File

@ -1,5 +1,6 @@
<?php
include_once('./_common.php');
include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
// 보관기간이 지난 상품 삭제
cart_item_clean();
@ -200,6 +201,9 @@ include_once('./_head.php');
<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>
<?php if ($naverpay_button_js) { ?>
<div class="cart-naverpay"><?php echo $naverpay_request_js.$naverpay_button_js; ?></div>
<?php } ?>
<?php } ?>
</div>
@ -249,6 +253,15 @@ $(function() {
});
function fsubmit_check(f) {
if($("input[name^=ct_chk]:checked").size() < 1) {
alert("구매하실 상품을 하나이상 선택해 주십시오.");
return false;
}
return true;
}
function form_check(act) {
var f = document.frmcartlist;
var cnt = f.records.value;