소비자가격에 선을 지웠더니
본문
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
여기에서 <strike>
이걸 지웠떠니 소비자가와 할인가가 한줄로 보입니다.
이걸 두줄로 나오게 할려면 어떻게 해야하나요?
답변 2
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n"; // 삭제
}
echo "<br>";
해보세요
strike -> div 로 바꾸셔도 될듯 합니다.
답변을 작성하시기 전에 로그인 해주세요.