Skip to content

Conversation

@39hn-zz
Copy link
Contributor

@39hn-zz 39hn-zz commented Jun 3, 2022

요약

관리자페이지 상품관리 > 상품수정에서 선택옵션 및 추가옵션의 옵션목록생성시, 중복된 id값을 가진 input을 생성하는 문제 수정

문제재현

상품수정(/adm/shop_admin/itemform.php) 상품선택옵션 필드에

옵션1 항목 : 1,2,3
옵션2 항목 : A,B

기입 후 옵션목록생성

스크린샷 2022-06-03 오전 10 08 28

-> opt_price_{x} 의 id값을 가진 input이 각각 두개씩 생성됨
(opt_chk_{x}, opt_stock_qty_{x}, ... 등도 마찬가지)

수정결과

위에서부터 차례대로

opt_price_0_0_0
opt_price_0_1_0
opt_price_1_0_0
opt_price_1_1_0
opt_price_2_0_0
opt_price_2_1_0

의 각각 유니크한 id값을 가진 input이 생성됨

@thisgun
Copy link
Contributor

thisgun commented Dec 18, 2023

안녕하세요. SIR 입니다.

좋은 코드를 남겨주셔서 감사합니다.

앞으로 개발 하는데 참고하겠습니다.

kkigomi pushed a commit to kkigomi/gnuboard5 that referenced this pull request Jul 12, 2024
제목 말줄임 표시 로직 파이어폭스에서 적용안되는 문제 해결
kkigomi pushed a commit to kkigomi/gnuboard5 that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants