가격나오는 곳 앞에 $라고 넣고 싶은데요...
본문
list.10.skin.php 에서
가격나오는 곳에 가격 앞에 혹은 다른 이미지를 넣고 싶은데 어느곳에 넣어야 할지 모르겠습니다.
if ($this->view_it_cust_price || $this->view_it_price) {
}
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "</div>\n";
}
위의 부분인것 같은데요. . 좀 도와주시면 감사하겠습니다.
답변 1
if ($this->view_it_cust_price || $this->view_it_price) {
}
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>$ ".display_price($row['it_cust_price'])."</strike>\n";
}
if ($this->view_it_price) {
echo "$ ".display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "</div>\n";
}
답변을 작성하시기 전에 로그인 해주세요.