채택완료

소비자가격에 선을 지웠더니

2018-03-12 (월) 15:31:41 1,991

if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
        }

여기에서 <strike>

1935605410_1520836297.6179.gif

이걸 지웠떠니 소비자가와 할인가가 한줄로 보입니다.

이걸 두줄로 나오게 할려면 어떻게 해야하나요?

|

답변 2개

채택된 답변
+20 포인트

if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";  // 삭제
        }

echo "<br>";

해보세요

strike -> div 로 바꾸셔도 될듯 합니다.

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