fix: 추천상품 표시 설정 및 품절 안내 적용
This commit is contained in:
@@ -956,6 +956,9 @@
|
||||
<c:if test = "${not empty item.goodsInnb}">
|
||||
<div class="product-unit">
|
||||
<div class="product-unit-image">
|
||||
<c:if test="${item.goodsSttusCd eq '02'}">
|
||||
<div class="sold-out"><span>입고 대기중</span></div>
|
||||
</c:if>
|
||||
<a class="product-detail" href="javascript:void(0);" onclick="fn_move_goods_dtl('<c:out value="${item.goodsInnb}"/>');">
|
||||
<spring:eval expression="@environment.getProperty('sopmalfo.common.fileupload.cdnurl')" var="cdnurl"/>
|
||||
<img src="<c:out value = "${cdnurl}${item.goodsImgCours}"/>"
|
||||
@@ -963,32 +966,21 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="product-unit-info d-flex flex-column" style="flex-direction:column">
|
||||
<div class="product-badge-container">
|
||||
<c:if test = "${not empty item.goodsIconCd}">
|
||||
<c:forEach items="${fn:split(item.goodsIconCd, ',')}" var="icon">
|
||||
<c:if test="${icon eq 'new'}">
|
||||
<span class="product-badge new" data-badge-cd="new">NEW</span>
|
||||
</c:if>
|
||||
<c:if test="${icon eq 'hot'}">
|
||||
<span class="product-badge hot" data-badge-cd="hot">HOT</span>
|
||||
</c:if>
|
||||
<c:if test="${icon eq 'best'}">
|
||||
<span class="product-badge best" data-badge-cd="best">BEST</span>
|
||||
</c:if>
|
||||
<c:if test="${icon eq 'md-pick'}">
|
||||
<span class="product-badge md-pick" data-badge-cd="md-pick">MD PICK</span>
|
||||
</c:if>
|
||||
<c:if test="${icon eq 'hot-deal'}">
|
||||
<span class="product-badge four-row" data-badge-cd="four-row">HOT DEAL</span>
|
||||
</c:if>
|
||||
<c:if test="${not empty item.iconCdNmList && item.iconExpsrAt eq 'Y'}">
|
||||
<div class="product-badge-container col order-${item.iconExpsrOrdr-1}" style="order: ${item.iconExpsrOrdr-1}">
|
||||
<c:forEach items="${fn:split(item.iconCdNmList, ',')}" var="iconCdNm">
|
||||
<span class="product-badge ${fn:toLowerCase(iconCdNm)}" data-badge-cd="${iconCdNm}">${fn:replace(fn:toUpperCase(iconCdNm), '-', ' ')}</span>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${item.goodsNmExpsrAt eq 'Y'}">
|
||||
<div class="product-unit-title">
|
||||
<a href="javascript:void(0);" onclick="fn_move_goods_dtl('<c:out value="${item.goodsInnb}"/>');">
|
||||
<c:out value = "${item.goodsNm}"/>
|
||||
</a>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${item.pricExpsrAt eq 'Y'}">
|
||||
<div class="product-unit-price">
|
||||
<div class="product-unit-price__price">
|
||||
<span class="product-unit-price__original <c:if test="${item.slePercent eq 0}">visually-hidden</c:if>">
|
||||
@@ -1002,12 +994,17 @@
|
||||
<span class="percent"><c:out value = "${item.slePercent}"/> %</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="product-unit-price__monthly-payment"><c:out value = "${item.srtDc}"/></span>
|
||||
</c:if>
|
||||
<c:if test="${item.reprsntDcExpsrAt eq 'Y'}">
|
||||
<span class="product-unit-price__monthly-payment"><c:out value = "${item.reprsntDc}"/></span>
|
||||
</c:if>
|
||||
<c:if test="${item.rvwEvlScreExpsrAt eq 'Y'}">
|
||||
<div class="product-unit-rating">
|
||||
<i class="icon icon_rating-star"></i>
|
||||
<span class="product-unit-rating__score"><c:out value = "${item.avgEvlScore}"/></span>
|
||||
<span class="product-unit-rating__count">(<fmt:formatNumber value="${item.cntEvlScor}"/>)</span>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user