|
|
@@ -586,7 +586,8 @@
|
|
|
<div class="swiper-container" th:if="${lookbook.lookbookGoodsList != null and !lookbook.lookbookGoodsList.empty}">
|
|
|
<div class="swiper-wrapper">
|
|
|
<div class="swiper-slide" th:each="lookbookGoods, goodsStatus : ${lookbook.lookbookGoodsList}" >
|
|
|
- <div class="item_prod">
|
|
|
+ <div class="item_prod" th:classappend="${(lookbookGoods.stockQty <= 0 or lookbookGoods.soldoutYn == 'Y')}? 'unable' : ''"
|
|
|
+ th:attr="goodsCd=${lookbookGoods.goodsCd}, optCd=${lookbookGoods.optCd}, minOrdQty=${lookbookGoods.minOrdQty}, goodsType=${lookbookGoods.goodsType}, ithrCd=${ithrCd}, contentsLoc=${contentsLoc}">
|
|
|
<div class="item_state">
|
|
|
<button type="button" class="itemLike" th:classappend="${lookbookGoods.wishYn == 'Y'}? 'likeit active' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${lookbookGoods.goodsCd}, ithrCd=${ithrCd}, contentsLoc=${contentsLoc}, planDtlSq=''">관심상품 추가</button>
|
|
|
<a href="javascript:void(0)" class="itemLink">
|
|
|
@@ -1511,13 +1512,13 @@
|
|
|
|
|
|
// 룩북속 상품 쇼핑백 담기
|
|
|
var fnAddCartLookBookGoods = function(obj){
|
|
|
-
|
|
|
+ debugger;
|
|
|
let $obj = $(obj);
|
|
|
- let $target = $obj.parent().find('.li_item').find('.item_prod');
|
|
|
+ let $target = $obj.parent().parent().parent().find('.swiper-container').find('.item_prod');
|
|
|
let btnType = "C";
|
|
|
let params = [];
|
|
|
|
|
|
- $target.each(function(){
|
|
|
+ $target.each(function(){debugger;
|
|
|
if ($(this).hasClass('unable')) {
|
|
|
|
|
|
}else{
|