증가, 감소 설정 변경件

증가, 감소 설정 변경件

QA

증가, 감소 설정 변경件

답변 3

본문

item.form.skin.php에서 

'증가'에서 '+', '감소'에서 '-'를 수정했는데..

033456b3017ef02e79cd7b4b586912c9_1441246984_9989.png

이렇게 이런 현상을 나오네요..

 

다른 방법으로 어디서 수정할수 있을까요?

이 질문에 댓글 쓰기 :

답변 3

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'].' 개   
이것을 지웠습니다.

장바구니에서 [선택사항수정]을 클릭하면 + - 가 나와서 이것을 삭제하려합니다.
이것만 찾으면 일단 끝날거 같습니다.



 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,117
© SIRSOFT
현재 페이지 제일 처음으로