전화문의 체크시 시중가격도 비노출 시키기 정보
전화문의 체크시 시중가격도 비노출 시키기본문
상품 등록 옵션 중에 전화문의를 체크하면 상품 판매가격 대신 전화문의 문구로 자동으로 변경이 됩니다.
그러나 상품가격 위에 있는 시중가격은 그대로 노출이 되죠.
전화문의에 체크했을 때 시중가격도 숨기는 방법입니다.
수정파일 : skin/shop/basic/list.10.skin.php
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
위 내용을 이렇게 수정.
if ($this->view_it_cust_price && $row['it_cust_price'] && !$row['it_tel_inq']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
그러나 상품가격 위에 있는 시중가격은 그대로 노출이 되죠.
전화문의에 체크했을 때 시중가격도 숨기는 방법입니다.
수정파일 : skin/shop/basic/list.10.skin.php
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
위 내용을 이렇게 수정.
if ($this->view_it_cust_price && $row['it_cust_price'] && !$row['it_tel_inq']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
추천
0
0
댓글 1개
오! 좋은 정보네요 감사합니다.