|
|
@@ -43,7 +43,7 @@
|
|
|
<div class="item_prod" th:class="${SocialData.stockQtySum == 0 ? 'item_prod sold_out' : 'item_prod'}">
|
|
|
<div class="item_state"> <!-- item_state AD soldout -->
|
|
|
<button type="button" th:class="${SocialData.likeIt == 'likeit'}? 'itemLike active' : 'itemLike'" onclick="cfnPutWishList(this);" th:attr="goodsCd=${SocialData.goodsCd}, ithrCd='', contentsLoc='', planDtlSq=''">관심상품 추가</button>
|
|
|
- <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${SocialData.goodsCd}]])">
|
|
|
+ <a href="javascript:void(0);" class="itemLink"> <!-- th:onclick="cfnGoToGoodsDetail([[${SocialData.goodsCd}]])" -->
|
|
|
<div class="itemPic">
|
|
|
<img alt="BLUE-a" class=" vLHTC pd_img" th:src="${@environment.getProperty('upload.goods.view') + '/' + SocialData.sysImgNm}">
|
|
|
</div>
|
|
|
@@ -57,7 +57,7 @@
|
|
|
<span class=" itemPercent" th:text="${#numbers.formatDecimal(SocialData.dcRate,1,0)} + '%'"></span>
|
|
|
</p>100 - ROUND((Z.CURR_PRICE / Z.LIST_PRICE) * 100 ,0) AS DC_RATE
|
|
|
<div class="shopBagBtn">
|
|
|
- <button class="btn btn_defalt" onclick="socialAddCart(this)" th:attr="goodsCd=${SocialData.goodsCd}, minOrdQty=${SocialData.minOrdQty}, goodsType=${SocialData.goodsType}">
|
|
|
+ <button type="button" class="btn btn_defalt" onclick="socialAddCart(this)" th:attr="goodsCd=${SocialData.goodsCd}, minOrdQty=${SocialData.minOrdQty}, goodsType=${SocialData.goodsType}, optCd=${SocialData.optCd}">
|
|
|
<span>쇼핑백 담기</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
@@ -85,14 +85,14 @@ var socialAddCart = function (obj) {
|
|
|
cart.cartGb = btnType;
|
|
|
cart.afLinkCd = $(obj).attr("afLinkCd");
|
|
|
cart.ithrCd = "";
|
|
|
- cart.contentsLoc "";
|
|
|
- cart.planDtlSq = '';
|
|
|
+ cart.contentsLoc = "";
|
|
|
+ cart.planDtlSq = "";
|
|
|
params.push(cart);
|
|
|
|
|
|
// 장바구니담기
|
|
|
if (params.length > 0){
|
|
|
cfnAddCart(params);
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
$(function(){
|
|
|
/* 핫딜 countDown */
|