Stock/inventory display from Dolibarr #12

Open
opened 2026-05-21 20:04:56 +00:00 by jmiller · 0 comments
Owner

Summary

Show real-time stock availability from Dolibarr warehouse data.

Requirements

  • Fetch stock from GET /products/{id}/stock
  • Display: In Stock / Low Stock / Out of Stock indicator
  • Configurable low-stock threshold
  • Hide 'Add to Cart' when out of stock
  • Option to allow backorders
  • Stock check on cart validation and checkout

Acceptance Criteria

  • Stock status shows on product list and detail
  • Correct stock fetched from Dolibarr warehouses
  • Add to Cart hidden/disabled when out of stock
  • Cart validates stock before checkout
  • Backorder option configurable
## Summary Show real-time stock availability from Dolibarr warehouse data. ## Requirements - Fetch stock from `GET /products/{id}/stock` - Display: In Stock / Low Stock / Out of Stock indicator - Configurable low-stock threshold - Hide 'Add to Cart' when out of stock - Option to allow backorders - Stock check on cart validation and checkout ## Acceptance Criteria - [ ] Stock status shows on product list and detail - [ ] Correct stock fetched from Dolibarr warehouses - [ ] Add to Cart hidden/disabled when out of stock - [ ] Cart validates stock before checkout - [ ] Backorder option configurable
jmiller added the status/pending-testing label 2026-05-21 22:58:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoDoliJoomShop#12