해피정

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

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

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

본 강좌의 최신업데이트는 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,946
22-12-14 조회 2,376
22-11-25 조회 2,134
22-11-11 조회 4,466
22-10-14 조회 2,956
22-08-30 조회 3,795
22-08-23 조회 3,761
22-08-10 조회 2,447
22-08-01 조회 2,123
22-07-21 조회 2,534
22-06-30 조회 2,742
22-06-17 조회 2,375
22-06-16 조회 2,131
22-06-15 조회 2,142
22-05-26 조회 2,366
22-05-15 조회 3,315
22-05-13 조회 2,593
22-01-28 조회 4,222
21-12-08 조회 5,408
21-09-24 조회 3,868
21-09-22 조회 5,689
21-09-06 조회 4,875
21-07-31 조회 4,355
21-07-29 조회 2,827
21-06-10 조회 5,006
21-06-01 조회 4,338
21-05-25 조회 4,048
21-05-04 조회 4,724
21-04-21 조회 5,021
21-04-21 조회 3,653