증가, 감소 설정 변경件
본문
item.form.skin.php에서
'증가'에서 '+', '감소'에서 '-'를 수정했는데..
이렇게 이런 현상을 나오네요..
다른 방법으로 어디서 수정할수 있을까요?
답변 3
sir.co.kr/qa/63966#answer_63993
theme/테마/skin/shop/basic/item.form.skin.php
js/shop.js
js 파일에는 증가, 감소 글자가 각각 두 곳에 있습니다.
러브키님 진심으로 감사드립니다. 님 덕분에 이렇게 혼자서 고민하고 헤메이던 문제를
해결했습니다.
js/shop.js 에서 아래처럼 바꿔었습니다.
opt += "<div><input type=\"hidden\" name=\"ct_qty["+item_code+"][]\" value=\"1\" class=\"frm_input\" size=\"5\">";
// opt += "<button type=\"button\" class=\"sit_qty_plus btn_frmline\">증가</button>";
// opt += "<button type=\"button\" class=\"sit_qty_minus btn_frmline\">감소</button>";
추가로 장바구니에서 옵션수량이 1개로 나오는 것때문에 shop.lib.php 에서 !-->
$str .= '<li>'.$row['ct_option'].' '.$row['ct_qty'].'개 ('.$price_plus.display_price($row['io_price']).')</li>'.PHP_EOL;
를
$str .= '<li>'.$row['ct_option'].' ('.$price_plus.display_price($row['io_price']).')</li>'.PHP_EOL;
로 수정했습니다.
'.$row['ct_qty'].' 개
이것을 지웠습니다.
장바구니에서 [선택사항수정]을 클릭하면 + - 가 나와서 이것을 삭제하려합니다.
이것만 찾으면 일단 끝날거 같습니다.
답변을 작성하시기 전에 로그인 해주세요.