feat(cafe24): 옵션/품목 편집을 별도 모달 창으로
380px 정보 패널은 옵션값·품목 표를 담기에 좁다. 패널에는 「팝업에서 관리」 버튼만 두고, 최대 1180px 모달(왼쪽 옵션 정의 / 오른쪽 품목 표: 이미지·옵션· 품목코드·자체코드·추가금액·진열·판매)에서 편집한다. - 모달은 페이지에 하나(패널 조각 교체와 무관), 열 때마다 카페24에서 새로 읽음. - 닫기: X · 배경 클릭 · Esc. 저장 안 한 변경(.is-dirty)이 있으면 확인창. - 다른 상품을 고르면 열려 있던 창은 닫힘. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -80,13 +80,17 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
{# ── 옵션 / 품목 — 펼칠 때 JSON 으로 불러온다(카페24 호출 2회) ── #}
|
||||
<details class="cf24-side-sec cf24-side-details" id="cf24-options-details">
|
||||
<summary class="cf24-side-title">옵션 / 품목 <span class="cf24-muted" id="cf24-options-count"></span></summary>
|
||||
<div class="cf24-options-body" id="cf24-options-body">
|
||||
<p class="cf24-muted">불러오는 중…</p>
|
||||
{# ── 옵션 / 품목 — 패널이 좁아 별도 모달(products.html 의 #cf24-options-modal)에서
|
||||
편집한다. 버튼을 누를 때 JSON 으로 불러온다(카페24 호출 2회). ── #}
|
||||
<section class="cf24-side-sec">
|
||||
<div class="cf24-side-actions">
|
||||
<h4 class="cf24-side-title" style="margin:0;">옵션 / 품목 <span class="cf24-muted" id="cf24-options-count"></span></h4>
|
||||
<button type="button" class="erp-btn erp-btn-primary" id="cf24-options-open">팝업에서 관리</button>
|
||||
</div>
|
||||
</details>
|
||||
<p class="cf24-side-note" style="margin:8px 0 0;">
|
||||
옵션명·옵션값 이름/썸네일·표시방식, 품목별 자체코드·추가금액·진열/판매를 넓은 창에서 수정합니다.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user