Per-Product Low-Stock Threshold Override (P1) #47

Open
opened 2026-02-25 19:44:23 +00:00 by Vylpes · 0 comments
Owner

Epic: #9


Note: This story is P1 (post-v1) and should not block the v1 release.

As a seller,
I want to set a different low-stock threshold for specific products,
so that I can fine-tune alerts for products with different restocking needs.

Blocked by: STORY-2.2 (Edit a Product), STORY-7.1 (Set Global Low-Stock Threshold)

Acceptance criteria:

  • Per-product threshold override field is available on the product edit form (see STORY-2.1)
  • When set, overrides the global threshold for that product's linked listings
  • When cleared, the product falls back to the global threshold
  • Low-stock calculation uses the override when present

Subtasks:

  • Add low-stock threshold override field to the product creation and edit forms
  • Persist the override value to the product record (nullable integer ≥ 0)
  • Update low-stock calculation to use the per-product override when set, else global threshold
  • Write automated tests (unit: override logic; integration: override respected in low-stock filter)
  • Write/update documentation
Epic: #9 --- > **Note:** This story is P1 (post-v1) and should not block the v1 release. **As a** seller, **I want to** set a different low-stock threshold for specific products, **so that** I can fine-tune alerts for products with different restocking needs. **Blocked by:** STORY-2.2 (Edit a Product), STORY-7.1 (Set Global Low-Stock Threshold) **Acceptance criteria:** - Per-product threshold override field is available on the product edit form (see STORY-2.1) - When set, overrides the global threshold for that product's linked listings - When cleared, the product falls back to the global threshold - Low-stock calculation uses the override when present **Subtasks:** - [ ] Add low-stock threshold override field to the product creation and edit forms - [ ] Persist the override value to the product record (nullable integer ≥ 0) - [ ] Update low-stock calculation to use the per-product override when set, else global threshold - [ ] Write automated tests (unit: override logic; integration: override respected in low-stock filter) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 19:44:23 +00:00
Vylpes removed this from the (deleted) milestone 2026-02-25 19:44:27 +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#47
No description provided.