Skip to content

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.

  • 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

IMPLEMENTED (December 2025)

Coverage:

  • 100% product coverage (20 products mapped to ingredients)
  • All products have ingredient mappings via ingredientIds field

Files:

  • shaker/types/product.ts - Product type with ingredientIds field
  • shaker/app/(tabs)/inventory/products/[id].tsx - Product detail with ingredient mappings
  • shaker/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.

High - Enables recipe-to-inventory matching

  • Product, Ingredient, ProductType, IngredientType