답변 2개 / 댓글 2개
채택된 답변
+20 포인트
가격과 원표시가 같은 변수에 있어서 소스 수정으로 변경이 불가하다면
<?php echo '\' & replace(가격변수,'원','')?> 이런식으로 해주시면 됩니다.

lib/shop.lib.php -> display_price() ->614라인
$price = number_format($price, 0).'원'; ->아래걸로 교체
$price = "\\".number_format($price, 0);
js/shop.js -> 483라인
$("#sit_tot_price").empty().html("<span>총 금액 :</span> "+number_format(String(total))+"원"); ->아래걸로 교체
$("#sit_tot_price").empty().html("<span>총 금액 :</span>\\"+number_format(String(total)));
나머지 중간 부분은 직접 찾아보셔도 좋을 것 같습니다.
답변을 작성하려면 로그인이 필요합니다.
if(parseInt(price) >= 0)
opt_prc = "(+"+number_format(String(price))+"원)";
else
opt_prc = "("+number_format(String(price))+"원)";
이런식으로 되어 있는데요..
여기서 어떻게 수정 해야 할까요? 여기를 수정 하라고만 알려주는데요