해피정

주문가격 <div id="sit_tot_price"></div> 수정

· 2022-06-17 (금) 00:11:21 · 2382

[주] 이후 강좌수정내용의 업데이트가 안될수 있습니다.

본 강좌의 최신업데이트는 https://www.happyjung.com/lecture/3078 에서 확인가능합니다.

가급적 동일한 내용을 유지하려고 노력하지만, 우선 작업은 위 링크입니다.

 

 

/ skin / shop / basic / item.form.skin 의 내용중에서
<div id="sit_tot_price"></div> 여기에 가격을 계산해서 보여주는 역할을 합니다.


위의 내용을 제어하는 것은 
js / shop.override.js  의   price_calculate  함수를 통해서 계산된 값이 표시됩니다
    if (typeof price_calculate === "function") {
   ...
    }   //end if check function


pc 스타일시트
/ skin / shop / basic / style.css 내용중
<style>
#sit_tot_price {font-size:1.167em;line-height:45px;font-weight:bold;text-align:right}
#sit_tot_price:after {display:block;visibility:hidden;clear:both;content:""}
#sit_tot_price span {float:left}
#sit_tot_price strong {font-size:1.5em;margin-left:15px}

.sit_tot_price {font-weight:bold;padding-bottom:10px;line-height:25px;font-size:1.167em;text-align:right}
.sit_tot_price strong {font-size: 1.5em;margin-left:15px}
.sit_tot_price span {float:left}
</style>


mobile 스타일시트
/ mobile / skin / shop / basic / style.css 내용중
<style>
#sit_tot_price {margin:10px 0;line-height:20px}
#sit_tot_price {text-align:right}
#sit_tot_price span {float:left}
#sit_tot_price strong {font-size:1.25em;color:#000}
</style>

 

 

<주> 위 강좌내용은 변경될 수 있습니다

변경된 내용이 본 강좌에 업데이트가 항상 되는 것은 아니므로

본문위 링크에서 변경된 내용을 확인 할 수 있습니다

|
댓글을 작성하시려면 로그인이 필요합니다.

영카트5 팁자료실

455건
+
제목 글쓴이 날짜 조회
23-01-12 조회 2,961
22-12-14 조회 2,385
22-11-25 조회 2,140
22-11-11 조회 4,484
22-10-14 조회 2,963
22-08-30 조회 3,805
22-08-23 조회 3,781
22-08-10 조회 2,453
22-08-01 조회 2,131
22-07-21 조회 2,538
22-06-30 조회 2,746
22-06-17 조회 2,383
22-06-16 조회 2,145
22-06-15 조회 2,144
22-05-26 조회 2,378
22-05-15 조회 3,322
22-05-13 조회 2,607
22-01-28 조회 4,224
21-12-08 조회 5,415
21-09-24 조회 3,870
21-09-22 조회 5,694
21-09-06 조회 4,880
21-07-31 조회 4,359
21-07-29 조회 2,832
21-06-10 조회 5,015
21-06-01 조회 4,344
21-05-25 조회 4,057
21-05-04 조회 4,731
21-04-21 조회 5,026
21-04-21 조회 3,673