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

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

QA

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

답변 1

본문

안녕하세요.

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

 

아래코드입니다.

 


 if ($this->view_it_cust_price || $this->view_it_price) {
        echo "<div class=\"sct_cost\">\n";
        if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>".display_price($row['it_cust_price'], false, true)."</strike>\n";
        }
        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));
            if ($io_price  > $io_dc_price) { $io_price_txt .= '<strike style="color: #333;">' .  number_format($io_price) . '원</strike> <span style="color: #333;">></span> '; }
            $io_price_txt .= display_price($io_dc_price, $row['it_tel_inq'], true)."\n";
            echo $io_price_txt;
        }
        echo "</div>\n";
 

 

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

이 질문에 댓글 쓰기 :

답변 1

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

 

현재 적용이 안되어있어요~ 기존 view 상품명 | (가격) ->  바뀐 view 상품명 | 옵션최저가격~옵션최대가격  이렇게 적용하고싶은데 가능할까요? 바꾸고싶은 문서는 list.50.skin / search_sph 입니다.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 1
© SIRSOFT
현재 페이지 제일 처음으로