애니빌드.LAB
토론방
쇼핑몰 쇼핑몰 세부페이지에 나와있는 판매가를 월렌탈료로 변경해주시고 방법도 알려주세요.
- s**303
- 2017-12-13 15:50:29
- hit4469
- http://wdev.anybuild.co.kr/bbs/qna/6890
쇼핑몰 세부페이지에 나와있는 판매가를 월렌탈료로 변경해주시고 방법도 알려주세요~
게시글 공유
URL복사
댓글작성
열기 닫기
열기 닫기
문구 변경은 치환방법으로 처리를 합니다.
디자인 관리 > 고급 디자인 관리 > 세부 화면 디자인에서 상품상세 보기를 클릭을 하시면 아래 부분에 소스가 나오는데 그 소스에서 수정을 해야됩니다.
쇼핑몰에서 소스보기를 하면 위와 같이 나오는데요 이 부분을 변경을 하는 겁니다.
이 부분이 좌측 내용을 출력하는 부분인데요
{@
$column_name = $gooda_info_table[$v][name];
$column_value = $gooda_info_table[$v][value];
if(!$column_name || !$column_value) continue;
if($v == 'sijung_price') $column_value = '<strike>'.$column_value.'</strike>';
if($v == 'coupon_use_info') $column_value = str_replace('[쿠폰사용]','<span class="farm-A-btn-type1 farm-A-small farm-A-highlight">쿠폰사용</span>',$column_value);
if($v == 'goods_price'){
$column_value = '<strong id="span_price_str" style="position:relative;z-index:0;">'.$column_value.'</strong><span id="span_price_sub_str" style="position:relative;z-index:0;"></span>';
}
@}
이 부분에서
{@
$column_name = $gooda_info_table[$v][name];
$column_value = $gooda_info_table[$v][value];
if(!$column_name || !$column_value) continue;
if($v == 'sijung_price') $column_value = '<strike>'.$column_value.'</strike>';
if($v == 'coupon_use_info') $column_value = str_replace('[쿠폰사용]','<span class="farm-A-btn-type1 farm-A-small farm-A-highlight">쿠폰사용</span>',$column_value);
if($v == 'goods_price'){
$column_value = '<strong id="span_price_str" style="position:relative;z-index:0;">'.$column_value.'</strong><span id="span_price_sub_str" style="position:relative;z-index:0;"></span>';
}
$column_name = str_replace("판 매 가", "월렌탈료", $column_name);
@}
이렇게 추가를 하면 판매가가 월렌탈료로 변경되어 출력이 됩니다.
단 모든 상품상세페이지가 이와 같이 변경이 되니 참고하시기 바랍니다.