diff --git a/studio/server.py b/studio/server.py index e8f53f5..c5dd7f8 100644 --- a/studio/server.py +++ b/studio/server.py @@ -38,7 +38,7 @@ AI_MODEL = "deepseek-flash" AI_CONFIG = Path.home() / ".config" / "teamat-studio" / "ai.json" CLAUDE_SETTINGS = Path.home() / ".claude" / "settings.json" # AI 가 손댈 수 있는 필드 (slug·date·image·gallery·sold_out·featured·naver_url 은 제외) -AI_FIELDS = ["title", "subtitle", "price", "material", "size", "care", "image_alt"] +AI_FIELDS = ["title", "subtitle", "price", "price_note", "material", "size", "care", "image_alt"] # 폼에 노출할 필드와 순서. 여기 없는 키도 파일에 있으면 보존한다. FIELDS: List[Dict[str, str]] = [ @@ -46,6 +46,7 @@ FIELDS: List[Dict[str, str]] = [ {"key": "subtitle", "label": "부제", "type": "text"}, {"key": "date", "label": "날짜", "type": "date"}, {"key": "price", "label": "가격(원)", "type": "number"}, + {"key": "price_note", "label": "가격 옵션 안내 (예: 네 장 세트 50,000원)", "type": "text"}, {"key": "sold_out", "label": "품절 표시", "type": "bool"}, {"key": "featured", "label": "첫 페이지 대표작", "type": "bool"}, {"key": "image", "label": "대표 이미지", "type": "image"}, @@ -446,7 +447,7 @@ price 는 원 단위 정수. 모르면 0 이 아니라 null 이 아니라 빈 slug 는 제목을 영문 소문자·하이픈으로 옮긴 것(예: magnolia-tea-mat). """ -DEFAULT_ORDER = ["slug", "title", "subtitle", "date", "price", "sold_out", "featured", +DEFAULT_ORDER = ["slug", "title", "subtitle", "date", "price", "price_note", "sold_out", "featured", "image", "image_alt", "gallery", "material", "size", "care", "naver_url"]