Help Center

카페24 소식

[스마트디자인] 장바구니 카운트 업데이트

2012-04-03


안녕하세요, 카페24 운영도우미 입니다.

쇼핑몰고객이 장바구니에 상품을 담았을 경우, 몇개의 상품이 있는지 알 수 있는 모듈입니다.
아래 이미지와 같이 "장바구니 카운트" 영역을 클릭하면 [장바구니 화면]으로 이동됩니다.



자세한 내용은 아래를 참조해 주세요.



1. 제목 : 장바구니 카운트 업데이트

2. 업데이트 내용

   레이아웃의 공통으로 쓰일 수 있는 모듈로, 표준스킨에서는 아래와 같은 파일이 수정되었습니다.


   /base/layout/basic/layout.html
   /base/layout/basic/board.html
   /base/layout/basic/product.html
   /base/layout/basic/order.html
   /base/layout/basic/product.html
   /base/layout/basic/main.html
 
   1) HTML 수정
      아래의 파란색 소스 부분을 수정합니다.
 

    <div module="Layout_orderBasketcount">

        <!--@css(/css/module/layout/orderBasketcount.css)-->
        <p><strong>장바구니</strong> <span><a href="/order/basket.html">{$basket_count}</a>개</span></p>
    </div>


   2) 새로운 CSS 파일을 생성합니다.

     - /css/module/layout/orderBasketcount.css


.xans-layout-orderbasketcount { overflow:hidden; zoom:1; font-size:11px; border-bottom:1px dotted #aaa; margin:0 0 12px; padding:0 0 7px; }
.xans-layout-orderbasketcount strong { float:left; padding:0 0 0 7px; color:#8f8f91; font-weight:normal; background:url(http://img.echosting.cafe24.com/design/skin/mono/bg_basketCount.gif) 0 0 no-repeat; }
.xans-layout-orderbasketcount span { float:right; padding:0 5px 0 0; color:#7cc2d9;  }
.xans-layout-orderbasketcount span a,
.xans-layout-orderbasketcount span a:hover { color:#7cc2d9; font-weight:bold; text-decoration:underline; padding:0 2px 0 0; }

 


카페24 는 쇼핑몰 운영을 보다 편리하고 쉽게 할 수 있도록 기능 업데이트를 지속적으로 진행하고 있습니다.
더 좋은 서비스가 되기 위해 노력하겠습니다. 끊임없는 애정과 관심 부탁 드립니다.

궁금하신 사항은 언제든지 고객지원센터 1:1게시판으로 문의해주세요. [문의하기]