Map Products to Generic Ingredients
As a Host, I want to map specific products in my inventory to generic ingredients, So that the system knows which bottles can be used for which recipe ingredients.
Acceptance Criteria
Section titled “Acceptance Criteria”- Given I have a product in my inventory (e.g., “Maker’s Mark Bourbon”)
- When I view or edit the product
- Then I can associate it with one or more generic ingredients (e.g., “Bourbon”, “Whiskey”)
- And the system suggests appropriate ingredient mappings based on product type
- And I can see all products mapped to a specific ingredient
- And I can see all ingredients a product can satisfy
Implementation Status
Section titled “Implementation Status”✅ IMPLEMENTED (December 2025)
Implementation Details
Section titled “Implementation Details”Coverage:
- 100% product coverage (20 products mapped to ingredients)
- All products have ingredient mappings via
ingredientIdsfield
Files:
shaker/types/product.ts- Product type withingredientIdsfieldshaker/app/(tabs)/inventory/products/[id].tsx- Product detail with ingredient mappingsshaker/app/(tabs)/inventory/products/edit-product.tsx- Edit product with ingredient selection
Features:
- Product-to-ingredient mapping on product detail/edit screens
- Multiple ingredients per product support
- Ingredient selection interface
- Visual display of mapped ingredients
See: Flavor Profile Audit for product coverage details.
Priority
Section titled “Priority”High - Enables recipe-to-inventory matching
Related Entities
Section titled “Related Entities”- Product, Ingredient, ProductType, IngredientType