테스트 사이트 - 개발 중인 베타 버전입니다

0원일때 가격수정 채택완료

남해 4년 전 조회 1,790

https://sir.kr/qa/240793

 

해당 게시글 보고 수정하려고하니깐

 

가격있는것들도 견적문의로 나오네요

 

                       

                            view_it_price) { ?>                                                                                     view_it_cust_price && $list[$i]['it_cust_price']) { ?>                                                                                

 

이부분인것같은데 어떤식으로 바꿔야할까요?

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

답변 2개

4년 전

</p>

<p><div class="product-price">

    <?php if ($this->view_it_price) { ?>

        <?php if ($list[$i]['it_price'] == 0) { ?>

        <span class="title-price">₩ <?php echo $list[$i]['it_tel_inq']; ?></span>

        <?php } else { ?>

        <span class="title-price">₩ <?php echo display_price($list[$i]['it_price']) ?></span>

        <?php } ?>

    <?php } ?>

    <?php if ($this->view_it_cust_price && $list[$i]['it_cust_price']) { ?>

    <span class="title-price line-through">₩ <?php echo $list[$i]['it_cust_price']; ?></span>

    <?php } ?>

</div></p>

<p>

로그인 후 평가할 수 있습니다

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

4년 전

view_it_price) { ?> ->

로그인 후 평가할 수 있습니다

답변에 대한 댓글 3개

남해
4년 전
<div class="product-price">
<?php if ($list[$i]['it_price'] == 0) { ?>
<span class="title-price">₩ <?php echo $list[$i]['it_tel_inq']; ?></span>
<?php } ?>
<?php if ($this->view_it_cust_price && $list[$i]['it_cust_price']) { ?>
<span class="title-price line-through">₩ <?php echo $list[$i]['it_cust_price']; ?></span>
<?php } ?>
</div>




이렇게인가요???
마르스컴퍼니
4년 전
그렇습니다.
남해
4년 전
이렇게 변경시 0원 인상태의 애들은 그대로 0원으로 나오고 가격있던 상품들은 아예 가격이없어지네요

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

답변을 작성하려면 로그인이 필요합니다.

로그인