TTP Restaurant Flavor Test

How it works:
Loading SDK...

Widget Configuration

Test Actions (Simulated Messages)

Show Menu Items

Injects a show_items message with mock menu items.

Show Gallery

Injects a show_media message to test fullscreen gallery.

Order Updated

Injects an order_updated message to test the order summary bar.

Console Commands

// Access the widget instance window.testWidget // Inject messages manually window.testWidget._flavor.messageHandlers['show_items']({ t: 'show_items', items: [ { id: 'MAIN-001', name: 'Grilled Salmon', category: 'Mains', price: 24.99, currency: 'USD', imageUrl: '...', available: true, tags: ['seafood', 'healthy'], allergens: ['fish'] } ], title: 'Test Menu' });