Feature #12311
openworking on menu and catering separation and also rnd on fruit bowl concept
Start date:
11/24/2026
Due date:
11/24/2026 (4 days late)
% Done:
100%
Estimated time:
8:00 h
Spent time:
Description
Research & Implementation Plan: Fruit Bowl (BYO) Model & Multi-Location POS Architecture
1. Business Concept & POS Requirements (US Fruit Bowl Model)
- Model: Fast-casual / Quick-Service concept (similar to Playa Bowls, Frutta Bowls) focusing on Açaí/Smoothie bowls with two main menu types: Signature Preset Bowls and Build-Your-Own (BYO) Bowls.
- Core POS Features Needed:
- Complex Modifiers & Pricing: Mandatory vs. optional modifier groups (Size, Base, Granola, Fruits, Drizzles), half-and-half base options, and included-limit pricing (e.g., first 3 fruits included, extra charge from the 4th onward).
- Quick-Service Flow: Pay-first counter checkout, online order-ahead, and kiosk readiness.
- Kitchen & Safety: Strict allergen/dietary alerts (Nut-free, Vegan, Gluten-free) and structured KDS / sticky-label printing for custom bowl assembly.
2. Multi-Location Architecture (e.g., NJ & DC Branches)
- Location-Based Order Routing: Customers select their nearest store via GPS or ZIP code. Orders are tagged with a `locationId` and pushed via real-time listeners (e.g., WebSockets) exclusively to that branch's POS and KDS.
- Master Menu + Store-Level Overrides: Head office manages a single Master Menu, while individual branches can override prices, local state/city tax rates, operating hours, and item-level out-of-stock (86'ing) statuses independently.
- Role-Based Access Control (RBAC):
- Brand / Super Admin: Global sales reports, master menu, and corporate coupons.
- Store Manager: Branch-specific orders, staff, inventory, and menu/price overrides.
- Staff / Cashier: Counter POS billing and KDS order fulfilment.
3. Proposed Implementation Roadmap (Production-Safe)
- Environment & Backup: Create a dedicated feature branch, take a full production DB backup, and execute all development/testing in staging to ensure backward compatibility for existing clients.
- Database Schema Updates (MongoDB):
- Add a `Locations` collection and attach `locationId` to `Orders` and `Users` (with default mapping for existing single-location clients).
- Implement `modifierGroups` (supporting `freeLimit` and `extraItemPrice`) in the Master Menu and a separate `StoreOverrides` collection.
- Backend & Real-Time Logic:
- Enforce RBAC filtering in Auth middleware based on `locationId`.
- Handle BYO modifier and extra-item pricing calculations strictly on the backend.
- Scope real-time order broadcasts to branch-specific rooms (`locationId`).
- Frontend Updates:
- Add a Store Selector and step-by-step BYO customization modal with live add-on pricing on the storefront.
- Update POS/KDS views and receipt/label templates to clearly display custom modifiers and allergen notes.
- Phased Rollout:
- Phase 1: BYO Modifiers & Included-Limit Pricing.
- Phase 2: Multi-Location Routing, RBAC, & Store Overrides.
- Deploy behind client-specific Feature Flags to prevent any impact on existing live restaurants.
Subtasks
Related issues
Updated by Aruna Prasanna 4 days ago
- Subject changed from working on menu and catering separation to working on menu and catering separation and also rnd on fruit bowl concept
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 100