Handle Multi-Ingredient Products
As a Host, I want to map products that contain multiple ingredients (like pre-made sour mix), So that the system accurately tracks whatâs in my inventory.
Acceptance Criteria
Section titled âAcceptance Criteriaâ- Given I have a product like âMargarita Mixâ that contains lime juice and simple syrup
- When I map this product to ingredients
- Then I can associate it with multiple generic ingredients:
- Lime Juice (primary)
- Simple Syrup (secondary)
- And I can specify the ratio or percentage of each ingredient
- And when calculating shopping lists, the system accounts for multi-ingredient products
- And I can mark certain products as âpreferredâ or âavoidâ for specific ingredients
Implementation Status
Section titled âImplementation Statusââ PARTIALLY IMPLEMENTED (December 2025)
Implementation Details
Section titled âImplementation DetailsâCurrent Implementation:
- Products can be mapped to multiple ingredients via
ingredientIdsarray - Multiple ingredients per product is supported
Missing Features:
- Ratio/percentage specification for each ingredient
- Primary/secondary ingredient designation
- Shopping list calculation for multi-ingredient products
- Preferred/avoid preferences for ingredients
Files:
shaker/types/product.ts- Product type withingredientIds: string[]shaker/app/(tabs)/inventory/products/edit-product.tsx- Multi-ingredient selection
Note: Basic multi-ingredient mapping exists, but advanced features (ratios, preferences) are not yet implemented.
Priority
Section titled âPriorityâLow - Handles edge cases
Related Entities
Section titled âRelated Entitiesâ- Product, Ingredient, RecipeIngredient