채택완료
영카트에서 판매가격에 원표시를 없에고싶습니다.
아무리찾아도 안보이네요~~
Copy
<tr>
<th scope="row">판매가격</th>
<td>
<strong><?php echo display_price(get_price($it)); ?></strong>
<input type="hidden" id="it_price" value="<?php echo get_price($it); ?>">
</td>
</tr>
이부분인거같습니다만~~

|
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
lib/shop.lib.php 파일에서 원 글자 삭제
// 금액 표시
function display_price($price, $tel_inq=false)
{
if ($tel_inq)
$price = '전화문의';
else
$price = number_format($price, 0).'원';
return $price;
}
답변을 작성하려면 로그인이 필요합니다.