From d52d7f4d7f8ffa0c4b2b461cb64876c260ae0098 Mon Sep 17 00:00:00 2001 From: padreug Date: Mon, 8 Sep 2025 19:50:10 +0200 Subject: [PATCH] Complete product creation form implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add comprehensive product creation dialog with Zod validation - Implement product form fields: name, price, description, quantity, active status - Add auto-reply settings with checkbox and message configuration - Create product management functions: loadStallProducts, addProduct, createProduct - Add products grid display with loading states and product cards - Integrate with NostrmarketAPI for full CRUD operations - Include placeholder sections for categories and image upload (future features) - Follow Shadcn/UI form patterns with proper error handling and validation - Complete merchant workflow: Create merchants → Create stores → Add products 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../market/components/MerchantStore.vue | 309 +++++++++++++++++- 1 file changed, 293 insertions(+), 16 deletions(-) diff --git a/src/modules/market/components/MerchantStore.vue b/src/modules/market/components/MerchantStore.vue index ae755a9..a0acd1a 100644 --- a/src/modules/market/components/MerchantStore.vue +++ b/src/modules/market/components/MerchantStore.vue @@ -759,30 +759,194 @@ - + - Add New Product + Add New Product to {{ activeStall?.name }} -
-
- -

Product Creation Coming Soon

-

- We're working on the product creation form. This will allow you to add products with images, descriptions, pricing, and inventory management. -

+
+ +
+ + + + Product Name * + + + + Choose a clear, descriptive name + + + + + + + + Price * ({{ activeStall?.currency || 'sat' }}) + + + + Price in {{ activeStall?.currency || 'sat' }} + + +
- + + + + + Description + +