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

상품가격 (최소)~(최대) 표시하기

호이호이45 3년 전 조회 995

안녕하세요.

상품가격을 (최소)~(최대) 이렇게 표시하고싶은데 가능할까요?

 

아래코드입니다.

 

</strong></p>

<p><strong> if ($this->view_it_cust_price || $this->view_it_price) {</strong></p>

<p><strong>        echo "<div class=\"sct_cost\">\n";</strong></p>

<p><strong>        if ($this->view_it_cust_price && $row['it_cust_price']) {

            echo "<strike>".display_price($row['it_cust_price'], false, true)."</strike>\n";

        }</strong></p>

<p><strong>        if ($this->view_it_price) {

            $io_price_txt = '';

            $io_price = $row['io_price'];

            $io_dc_price = get_discount_price($row, $io_price);

        

            // 부가세 별도가

            $io_price = (int)((string)($io_price / 1.1));

            $io_dc_price = (int)((string)($io_dc_price / 1.1));</strong></p>

<p><strong>            if ($io_price  > $io_dc_price) { $io_price_txt .= '<strike style="color: #333;">' .  number_format($io_price) . '원</strike> <span style="color: #333;">&gt;</span> '; }</strong></p>

<p><strong>            $io_price_txt .= display_price($io_dc_price, $row['it_tel_inq'], true)."\n";

            echo $io_price_txt;

        }</strong></p>

<p><strong>        echo "</div>\n";</strong></p>

<p><strong>
 

 

알려주시면 감사하겠습니다.

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

답변 1개

e
3년 전

상품관리에서 최대, 최소 가격은 어디에 설정을 하신 건가요??

 

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

답변에 대한 댓글 2개

호이호이45
3년 전
현재 적용이 안되어있어요~ 기존 view 상품명 | (가격) -> 바뀐 view 상품명 | 옵션최저가격~옵션최대가격 이렇게 적용하고싶은데 가능할까요? 바꾸고싶은 문서는 list.50.skin / search_sph 입니다.
e
eyekiss
3년 전
최대 최소 가격을 옵션 가격으로 가져와서 처리하겠다는 건가요??

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

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

로그인