상품수정 - 옵션목록생성시 중복된 id의 input을 생성하는 문제 수정 #192
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
요약
관리자페이지 상품관리 > 상품수정에서 선택옵션 및 추가옵션의 옵션목록생성시, 중복된 id값을 가진 input을 생성하는 문제 수정
문제재현
상품수정(/adm/shop_admin/itemform.php) 상품선택옵션 필드에
기입 후 옵션목록생성
-> opt_price_{x} 의 id값을 가진 input이 각각 두개씩 생성됨
(opt_chk_{x}, opt_stock_qty_{x}, ... 등도 마찬가지)
수정결과
위에서부터 차례대로
의 각각 유니크한 id값을 가진 input이 생성됨