|
|
@@ -234,7 +234,7 @@
|
|
|
<p>선택하신 조건에 맞는 상품이 없습니다.<br>필터를 변경해 보세요.</p>
|
|
|
</div>
|
|
|
<div class="ui_row">
|
|
|
- <button type="button" class="btn btn_default btn_md"><span>선택한 필터 초기화</span></button>
|
|
|
+ <button type="button" class="btn btn_default btn_md" onclick="fnFilterReset();"><span>선택한 필터 초기화</span></button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="count_wrap">
|
|
|
@@ -441,17 +441,32 @@
|
|
|
fnFilterSlider('dcrate' , custom_values02[min].replace('%',''), custom_values02[max].replace('%',''));
|
|
|
}
|
|
|
|
|
|
+ // 필터 초기화
|
|
|
var fnFilterReset = function (){
|
|
|
- document.location.href = currUrl;
|
|
|
- // $("#searchGoodsForm input:hidden[name=brandSearch]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=sizeSearch]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=priceRow]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=priceHigh]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=dcrateRow]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=dcrateHigh]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=seasonSearch]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=colorSearch]").remove();
|
|
|
- // $("#searchGoodsForm input:hidden[name=benefitSearch]").remove();
|
|
|
+ //document.location.href = currUrl;
|
|
|
+ $("#searchGoodsForm input:hidden[name=brandGroupArr]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=sizeArr]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=dcRateFrom]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=dcRateTo]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=priceFrom]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=priceTo]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=ageArr]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=seasonArr]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=colorArr]").remove();
|
|
|
+ $("#searchGoodsForm input:hidden[name=benefitArr]").remove();
|
|
|
+ $("#unisex").prop('checked',false);
|
|
|
+ $("#unisex").attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
+ $("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
+ $("#newGoods").prop('checked',true);
|
|
|
+ $("#newGoods").attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
+ fnFilterSliderMove(0,5);
|
|
|
+ fnDcRateFilterSliderMove(0,10);
|
|
|
+ $('.filter_content .sort').find('input[type=checkbox]').each(function (idx){
|
|
|
+ $(this).prop('checked',false);
|
|
|
+ });
|
|
|
+ $("#filterData").html('');
|
|
|
+ fnCategoryGoodsInfiniteScrollInit();
|
|
|
+ fnGoodsListSearch();
|
|
|
}
|
|
|
|
|
|
var fnGoodsListSearch = function (){
|