채택완료

영카트에서 판매가격에 원표시를 없에고싶습니다.

2020-02-27 (목) 08:59:48 1,908

아무리찾아도 안보이네요~~

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>

이부분인거같습니다만~~

1923646315_1582761575.6721.png

|

답변 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;
}

답변에 대한 댓글 1개

아........감사합니다.......아미나를 테스트하다보니.........소스가틀린걸 깜박했습니다....아미나는 lang.php에 있네요~~

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