|
|
@@ -102,9 +102,19 @@
|
|
|
<div>
|
|
|
<input id="unisex" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
|
|
|
</div>
|
|
|
- <div th:unless="${cateInfo.formalGb=='G009_20'}">
|
|
|
- <input id="newGoods" type="checkbox" checked="checked" onclick="fnResetListIdx();fnFilterOption(this,'off');"><label for="newGoods"> <span>신상품만 보기</span> </label>
|
|
|
- </div>
|
|
|
+
|
|
|
+ <th:block th:if="${brandGroupInfo == null or brandGroupInfo.supplyCompCd != '3'}">
|
|
|
+ <div th:unless="${cateInfo.formalGb=='G009_20'}">
|
|
|
+ <input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'off');" checked="checked">
|
|
|
+ <label for="newGoods"> <span>신상품만 보기</span> </label>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ <th:block th:if="${brandGroupInfo != null AND brandGroupInfo.supplyCompCd == '3'}">
|
|
|
+ <div th:unless="${cateInfo.formalGb=='G009_20'}">
|
|
|
+ <input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');">
|
|
|
+ <label for="newGoods"> <span>신상품만 보기</span> </label>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="filter_body">
|
|
|
@@ -379,7 +389,8 @@
|
|
|
<input type="hidden" name="cate3No" th:value="${cateInfo.cate3No}"/>
|
|
|
<input type="hidden" name="cate4No" th:value="${cateInfo.cate4No}"/>
|
|
|
<input type="hidden" name="sortingType" value="NEW"/>
|
|
|
- <input type="hidden" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40'}" />
|
|
|
+ <input type="hidden" name="newGoods" th:unless="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20')}" th:value="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20') ?'':'40'}" />
|
|
|
+ <!-- <input type="hidden" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40'}" /> -->
|
|
|
<input type="hidden" name="keyword" value=""/>
|
|
|
<!-- <input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>-->
|
|
|
</form>
|
|
|
@@ -390,6 +401,7 @@
|
|
|
<script th:src="@{'/biz/goods.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/goods.js"></script>
|
|
|
|
|
|
<script th:inline="javascript">
|
|
|
+ let brandGroupInfo = [[${brandGroupInfo}]];
|
|
|
var filterPriceList = [[${filterPriceList}]];
|
|
|
// 상품리스트 페이지 확인용
|
|
|
var listIdx = 1;
|