옵션에 추가금액을 만들고 셀렉트박스로 사용자화면에서 보여질때 추가된 금액이 안보이게가능할까요?
실질적으로 옵션가가 가감되면 상대적으로 판매가격에 변동이 생기므로 불필요하다고 느끼는분들도 계시네요.
hidden값으로 놓고 싶은데 어디를 보면될지 힌트좀 부탁드리겠습니다.
셀렉트박스에 생기는 옵션가 (+10000원) 이부분만 삭제하고 실질적인 기능은 동일합니다.
새해복도 많이 받으세요.
실질적으로 옵션가가 가감되면 상대적으로 판매가격에 변동이 생기므로 불필요하다고 느끼는분들도 계시네요.
hidden값으로 놓고 싶은데 어디를 보면될지 힌트좀 부탁드리겠습니다.
셀렉트박스에 생기는 옵션가 (+10000원) 이부분만 삭제하고 실질적인 기능은 동일합니다.
새해복도 많이 받으세요.
댓글 1개
shop/item.php 의
if (typeof(f.disp_sell_amount) != 'undefined')
f.disp_sell_amount.value = number_format(String(amount * ct_qty));
if (typeof(f.disp_cust_amount) != 'undefined')
f.disp_cust_amount.value = number_format(String(cust_amount * ct_qty));
를
if (typeof(f.disp_sell_amount) != 'undefined' && amount == basic_amount)
f.disp_sell_amount.value = number_format(String(amount * ct_qty));
if (typeof(f.disp_cust_amount) != 'undefined' && amount == basic_amount)
f.disp_cust_amount.value = number_format(String(cust_amount * ct_qty));
로 수정해 보시기 바랍니다.
if (typeof(f.disp_sell_amount) != 'undefined')
f.disp_sell_amount.value = number_format(String(amount * ct_qty));
if (typeof(f.disp_cust_amount) != 'undefined')
f.disp_cust_amount.value = number_format(String(cust_amount * ct_qty));
를
if (typeof(f.disp_sell_amount) != 'undefined' && amount == basic_amount)
f.disp_sell_amount.value = number_format(String(amount * ct_qty));
if (typeof(f.disp_cust_amount) != 'undefined' && amount == basic_amount)
f.disp_cust_amount.value = number_format(String(cust_amount * ct_qty));
로 수정해 보시기 바랍니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 56073 | |
| 56067 | |
| 56065 | |
| 56060 | |
| 56058 | |
| 56055 | |
| 56051 | |
| 56048 | |
| 56044 | |
| 56043 | |
| 56042 | |
| 56039 | |
| 56035 | |
| 56032 | |
| 56030 | |
| 56028 | |
| 56025 | |
| 56018 | |
| 56012 | |
| 56010 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기