Create a Product #17

Open
opened 2026-02-25 18:13:43 +00:00 by Vylpes · 0 comments
Owner

Epic: #4


As a seller,
I want to create a product with a unique SKU,
so that I have a central catalog entry to link my eBay listings to.

Blocked by: None

Acceptance criteria:

  • User can create a product with:
    • SKU (required, unique across the account)
    • Name/title (required)
    • Cost (optional, decimal)
    • Notes (optional, free text)
    • Low-stock threshold override (optional, integer ≥ 0)
  • Duplicate SKU is rejected with a clear error message
  • On-hand quantity defaults to 0 on creation
  • Newly created product appears in the product list immediately

Subtasks:

  • Create product creation form UI (SKU, Name, Cost, Notes, low-stock threshold fields)
  • Implement server-side validation (SKU required + unique, Name required, qty ≥ 0)
  • Persist product to database with on-hand quantity defaulting to 0
  • Display newly created product in the product list immediately
  • Write automated tests (unit: validation; integration: create product flow)
  • Write/update documentation
Epic: #4 --- **As a** seller, **I want to** create a product with a unique SKU, **so that** I have a central catalog entry to link my eBay listings to. **Blocked by:** None **Acceptance criteria:** - User can create a product with: - SKU (required, unique across the account) - Name/title (required) - Cost (optional, decimal) - Notes (optional, free text) - Low-stock threshold override (optional, integer ≥ 0) - Duplicate SKU is rejected with a clear error message - On-hand quantity defaults to 0 on creation - Newly created product appears in the product list immediately **Subtasks:** - [ ] Create product creation form UI (SKU, Name, Cost, Notes, low-stock threshold fields) - [ ] Implement server-side validation (SKU required + unique, Name required, qty ≥ 0) - [ ] Persist product to database with on-hand quantity defaulting to 0 - [ ] Display newly created product in the product list immediately - [ ] Write automated tests (unit: validation; integration: create product flow) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 18:13:43 +00:00
Vylpes modified the milestone from (deleted) to 0.1.0 2026-03-02 17:23:23 +00:00
Vylpes added this to the 0.1 Sprint 1 project 2026-03-03 20:12:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/droplet-next#17
No description provided.