장바구니 네이버페이 제거

This commit is contained in:
김현욱
2026-01-02 15:52:05 +09:00
parent 4e20d28c4d
commit abf74d996b
2 changed files with 79 additions and 79 deletions

View File

@@ -32,12 +32,12 @@
<!--************************************ 네이버페이 시작 *********************************-->
<!--[ 네이버 구매하기버튼 스크립트 ]-->
<c:if test="${profiles eq 'stage'}">
<script type="text/javascript" src="https://test-pay.naver.com/customer/js/naverPayButton.js" charset="UTF-8"></script>
</c:if>
<c:if test="${profiles ne 'stage'}">
<script type="text/javascript" src="http://test-pay.naver.com/customer/js/naverPayButton.js" charset="UTF-8"></script>
</c:if>
<%-- <c:if test="${profiles eq 'stage'}">--%>
<%-- <script type="text/javascript" src="https://test-pay.naver.com/customer/js/naverPayButton.js" charset="UTF-8"></script>--%>
<%-- </c:if>--%>
<%-- <c:if test="${profiles ne 'stage'}">--%>
<%-- <script type="text/javascript" src="http://test-pay.naver.com/customer/js/naverPayButton.js" charset="UTF-8"></script>--%>
<%-- </c:if>--%>
<!--************************************ 네이버페이 종료 *********************************-->
<script>
@@ -370,16 +370,16 @@
success: function (html) {
$('#cartOrderList').empty().html(html);
const itemCnt = $('#cartOrderList').find('.cartItem').length;
// const itemCnt = $('#cartOrderList').find('.cartItem').length;
//alert("itemCnt > " + itemCnt);
if (0 === itemCnt) {
$('#_naverPayArea').hide();
}else{
$('#_naverPayArea').show();
}
// if (0 === itemCnt) {
// $('#_naverPayArea').hide();
// }else{
// $('#_naverPayArea').show();
// }