애니빌드.LAB
토론방
소스관련 주문완료 페이지 문의
- s**c
- 2016-07-21 09:51:00
- hit3795
- http://wdev.anybuild.co.kr/bbs/qna/6101

주문완료 페이지에서 위에 항목들이 0원이면 안뜨게 할수 있나요?
게시글 공유
URL복사
댓글작성
열기 닫기

주문완료 페이지에서 위에 항목들이 0원이면 안뜨게 할수 있나요?
열기 닫기
열기 닫기
디자인 관리 > 고급 디자인 관리 > 세부화면디자인에서 [쇼핑몰]주문관련에 [3단계] 주문완료 페이지입니다.
거기서 위의 소스를 일부 수정을 하면 됩니다.
<div class="box box2">
<dl class="dl clr" cond="!$vat_price">
<dt>부가세(VAT) {$vat_str}</dt>
<dd>{$vat_price|money}</dd>
</dl>
<dl class="dl clr" cond="!$move_price">
<dt>배송료</dt>
<dd>{$move_price|money}</dd>
</dl>
<dl class="dl clr">
<dt>결제 대행사 (카드결제, 계좌이체, 핸드폰 결제, PG사를 통한 온라인결제) 결제 할증</dt>
<dd>{$card_rate_price|money}</dd>
</dl>
<dl class="dl clr">
<dt>{$emoney_name} <span cond="!$emoney_name">적립금</span> 사용</dt>
<dd><span class="red">- {$dc_price_emoney|money}</span></dd>
</dl>
<dl class="dl clr">
<dt>쿠폰 사용</dt>
<dd><span class="red">- {$dc_price_coupon|money}</span></dd>
</dl>
<dl class="dl clr">
<dt>현금 결제 할인</dt>
<dd><span class="red">- {$dc_price_online_app|money}</span></dd>
</dl>
<p class="total_price">
총 주문합계 금액 : {$app_price|money}
<!--@if($app_currency_price)-->
<br>({$app_currency_price}{$app_currency_select})
<!--@end-->
</p>
</div>
위의 소스에서 빨간색 부분을 보시면 됩니다.
cond 명령어를 사용을 하였습니다.
cond="!$vat_price"
이렇게 해서 처리가 되지 않으면
cond="$vat_price > 0"
이렇게 수식을 바꿔서 한번 기재를 해주시기 바랍니다.
감사합니다.