미할인 상품 - 판매가, 할인율 미표시
>> 쇼핑몰 메인 >> 카테고리 목록 >> 상품 검색 >> 상품 상세 >> 장바구니 담기 팝업 >> 장바구니 >> 결제 화면
This commit is contained in:
@@ -3744,7 +3744,7 @@ const fn_move_goodsDtl_login = () => {
|
||||
<c:choose>
|
||||
<c:when test="${resultMap.goodsDtl.pricRplcWordsUseAt ne 'Y'}">
|
||||
<div class="productDetailInfo__price__price">
|
||||
<span class="productDetailInfo__price__original">
|
||||
<span class="productDetailInfo__price__original <c:if test="${resultMap.goodsDtl.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<span class="comma"><fmt:formatNumber value="${resultMap.goodsDtl.cnsmrpric}"/></span><span class="priceUnit">${curUnit}</span>
|
||||
<input type="hidden" id="cnsmrpric" value="<c:out value="${resultMap.goodsDtl.cnsmrpric}"/> "/>
|
||||
</span>
|
||||
@@ -3752,10 +3752,9 @@ const fn_move_goodsDtl_login = () => {
|
||||
<span class="comma"><fmt:formatNumber value="${resultMap.goodsDtl.slepric}"/></span><span class="priceUnit">${curUnit}</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="productDetailInfo__price__sale">
|
||||
<div class="productDetailInfo__price__sale <c:if test="${resultMap.goodsDtl.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<span class="percent">
|
||||
<c:out value="${resultMap.goodsDtl.slePercent}"/>
|
||||
<span class="priceUnit">%</span>
|
||||
<c:out value="${resultMap.goodsDtl.slePercent}"/><span class="priceUnit">%</span>
|
||||
</span>
|
||||
</div>
|
||||
</c:when>
|
||||
|
||||
@@ -115,12 +115,14 @@
|
||||
<c:when test="${not empty list.pricRplcWordsUseAt and list.pricRplcWordsUseAt ne 'Y'}">
|
||||
<div class="product-unit-price col order-${list.pricExpsrOrdr-1}" style="order: ${list.pricExpsrOrdr-1}">
|
||||
<div class="product-unit-price__price">
|
||||
<span class="product-unit-price__original"><fmt:formatNumber
|
||||
value="${list.cnsmrpric}"/> ${curUnit}</span>
|
||||
<span class="product-unit-price__current"><fmt:formatNumber
|
||||
value="${list.slepric}"/> ${curUnit}</span>
|
||||
<span class="product-unit-price__original <c:if test="${list.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<fmt:formatNumber value="${list.cnsmrpric}"/> ${curUnit}
|
||||
</span>
|
||||
<span class="product-unit-price__current">
|
||||
<fmt:formatNumber value="${list.slepric}"/> ${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
<div class="product-unit-price__sale">
|
||||
<div class="product-unit-price__sale <c:if test="${list.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<span class="percent"> <c:out value="${list.slePercent}"/> %</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -222,11 +222,11 @@
|
||||
if(!fn_is_empty(item.pricRplcWordsUseAt) && item.pricRplcWordsUseAt !== 'Y'){
|
||||
list += ` <div class="product-unit-price col order-${'${item.pricExpsrOrdr-1}'}" style="order: ${'${item.pricExpsrOrdr-1}'}">`;
|
||||
list += ' <div class="product-unit-price__price">';
|
||||
list += ` <span class="product-unit-price__original">${'${addComma(item.cnsmrpric)}'} ` + curUnit + `</span>`;
|
||||
list += ` <span class="product-unit-price__original` + (item.slePercent == 0 ? ' visually-hidden' : '') + `">${'${addComma(item.cnsmrpric)}'} ` + curUnit + `</span>`;
|
||||
list += ` <span class="product-unit-price__current">${'${addComma(item.slepric)}'} ` + curUnit + `</span>`;
|
||||
list += ' </div>';
|
||||
list += ' <div class="product-unit-price__sale">';
|
||||
list += ` <span class="percent">${'${item.slePercent}'} %</span>`;
|
||||
list += ` <span class="percent` + (item.slePercent == 0 ? ' visually-hidden' : '') + `">${'${item.slePercent}'} %</span>`;
|
||||
list += ' </div>';
|
||||
list += ' </div>';
|
||||
}else{
|
||||
|
||||
@@ -111,13 +111,13 @@
|
||||
<c:when test="${not empty list.pricRplcWordsUseAt and list.pricRplcWordsUseAt ne 'Y'}">
|
||||
<div class="product-unit-price col order-${list.pricExpsrOrdr-1}" style="order: ${list.pricExpsrOrdr-1}">
|
||||
<div class="product-unit-price__price">
|
||||
<span class="product-unit-price__original"><fmt:formatNumber
|
||||
value="${list.cnsmrpric}"/> ${curUnit}</span>
|
||||
<span class="product-unit-price__current"><fmt:formatNumber
|
||||
value="${list.slepric}"/> ${curUnit}</span>
|
||||
<span class="product-unit-price__original <c:if test="${list.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<fmt:formatNumber value="${list.cnsmrpric}"/> ${curUnit}
|
||||
</span>
|
||||
<span class="product-unit-price__current"><fmt:formatNumber value="${list.slepric}"/> ${curUnit}</span>
|
||||
</div>
|
||||
<div class="product-unit-price__sale">
|
||||
<span class="percent"> <c:out value="${list.slePercent}"/> %</span>
|
||||
<div class="product-unit-price__sale <c:if test="${list.slePercent eq 0}">visually-hidden</c:if>">
|
||||
<span class="percent"><c:out value="${list.slePercent}"/> %</span>
|
||||
</div>
|
||||
</div>
|
||||
</c:when>
|
||||
|
||||
@@ -212,10 +212,10 @@
|
||||
if(!fn_is_empty(item.pricRplcWordsUseAt) && item.pricRplcWordsUseAt !== 'Y'){
|
||||
list += ` <div class="product-unit-price col order-${'${item.pricExpsrOrdr-1}'}" style="order: ${'${item.pricExpsrOrdr-1}'}">`;
|
||||
list += ' <div class="product-unit-price__price">';
|
||||
list += ` <span class="product-unit-price__original">${'${addComma(item.cnsmrpric)}'} ` + curUnit + `</span>`;
|
||||
list += ` <span class="product-unit-price__original` + (item.slePercent == 0 ? ' visually-hidden' : '') + `">${'${addComma(item.cnsmrpric)}'} ` + curUnit + `</span>`;
|
||||
list += ` <span class="product-unit-price__current">${'${addComma(item.slepric)}'} ` + curUnit + `</span>`;
|
||||
list += ' </div>';
|
||||
list += ' <div class="product-unit-price__sale">';
|
||||
list += ' <div class="product-unit-price__sale' + (item.slePercent == 0 ? ' visually-hidden' : '') + '">';
|
||||
list += ` <span class="percent">${'${item.slePercent}'} %</span>`;
|
||||
list += ' </div>';
|
||||
list += ' </div>';
|
||||
|
||||
@@ -55,12 +55,11 @@
|
||||
<c:if test="${not empty goods.inputOptnText}">
|
||||
<span class="cartItem__productOption"><span class="option-badge">입력</span> <c:out value="${goods.inputOptnText}"/></span>
|
||||
</c:if>
|
||||
<span class="cartItem__beforePrice" style="color:#979b9d; text-decoration: line-through;">
|
||||
<span class="cartItem__beforePrice <c:if test="${goods.cnsmrpric eq goods.subSlepric}">visually-hidden</c:if>" style="color:#979b9d; text-decoration: line-through;">
|
||||
<span class="comma">
|
||||
<fmt:formatNumber value="${goods.cnsmrpric}" pattern="#,###"/>
|
||||
</span>${curUnit}
|
||||
</span>
|
||||
|
||||
<span class="cartItem__productPrice">
|
||||
<span class="comma"><fmt:formatNumber value="${goods.subSlepric}" pattern="#,###"/></span>
|
||||
<span class="priceUnit">${curUnit}</span>
|
||||
|
||||
Reference in New Issue
Block a user