← 목록으로
📝 Prompt
주문 요약
상품 금액
₩150,000
배송비
₩3,000
할인 (
)
-₩0
총 결제 금액
₩153,000
🎟️ 프로모션 코드가 있으신가요?
적용
사용 가능한 프로모션
SAVE20
-20%
모든 상품 20% 할인 (최소 주문 ₩100,000)
WELCOME10
-₩10,000
신규 회원 환영 할인
FREESHIP
무료배송
배송비 무료 (전 상품)
결제하기
74. 프로모션/쿠폰 코드 UI Design a promo code input system: **Input Location**: - Cart/checkout summary section - Collapsible: "Have a promo code?" - Expands to show input **Input Design**: - Text input + Apply button - Button: inline right or below - Placeholder: "Enter code" - Loading state on apply **Success State**: - Green check icon - Code displayed: "SAVE20 applied" - Discount amount shown - Remove link **Error States**: - Invalid code: red text below - Expired code message - Minimum not met: "Spend $X more" - Already applied message **Discount Display** (in summary): - Line item: "Discount (SAVE20)" - Amount: -$20.00 in green - Before total **Multiple Codes** (if allowed): - List of applied codes - Each removable - Input for additional **Auto-Apply**: - URL parameter support: ?promo=SAVE20 - Auto-apply on page load - Show success message **Code Suggestions** (logged in): - "Available codes" dropdown - Show user's available promos - Click to apply **Visual Feedback**: - Spinner during validation - Success animation - Total updates smoothly **Gift Card vs Promo**: - Separate inputs if different - Gift card: shows remaining balance - Can combine: gift card + promo **Mobile Considerations**: - Full-width input - Clear tap targets - Keyboard dismiss on apply Tech: React + React Hook Form + Tailwind
디자인 프롬프트
×