Telegram Cafe Bot: Menu, Cart and Orders on aiogram 3. Code + Guide
- Price in currencies:
- 14.81 $ · 1050 RUB · 13.49 €
- Category:
- Others
- Item:
- cafe-bot-v1.0.zip (60.93 KB)
- Uploaded:
- 18.11.2026 22:07:30
- Sales:
- 0
- Refunds:
- 0
- Seller:
- Новинка Супер хит! · about the seller and their products
DESCRIPTION
Telegram Cafe Bot: Menu, Cart and Orders on aiogram 3. Code + Guide
A guest opens the bot, browses the menu by category, builds an order in the cart with the "+" and "−" buttons, and checks out: name, phone, comment. The order arrives to you in Telegram right away and is written to orders.csv — with its number, items and total. And the menu and prices live in a single file, config.py: changing a dish or a price is one line, no need to touch the code.
The bot checks the guest´s phone itself and normalizes it to +7XXXXXXXXXX. The cart calculates the total on the fly, and the guest sees the order number in the confirmation.
WHAT´S INSIDE THE ARCHIVE
• app/bot.py — the bot: menu, cart, step-by-step checkout
• app/config.py — cafe name, texts and menu: categories, dishes, prices
• app/cart.py — cart logic: add, remove, calculate the total
• app/keyboards.py — inline buttons for categories, dishes and the cart
• app/utils.py — phone validation and writing orders to orders.csv
• app/test_cart.py — cart logic tests
• requirements.txt, .env.example — dependencies and settings
• run.sh — one-command launch, cafe-bot.service — service for a VPS
• README.md and PDF — complete guide: launch, menu, VPS, improvements
GUIDE STEPS
1. A bot from @BotFather, your ID from @userinfobot → .env.
2. Your cafe´s menu in config.py — categories and dishes as a list.
3. ./run.sh — the bot replies to /start.
4. A test order: it arrived to you in Telegram and was saved to orders.csv.
5. On a VPS: a systemd service — the bot runs all the time.
WHAT YOU NEED
Python 3.10+ on a computer or VPS and a bot token from @BotFather. 15 minutes.
IMPORTANT
This is code and a guide for self-setup — not turnkey setup. If you need a bot for your cafe turnkey, that is a separate service.
SIMILAR PRODUCTS
• Business-card bot with a request form on aiogram: https://plati.market/itm/telegram-lead-bot-on-aiogram-3-business-card-request-form-code-guide/6423255
• Telegram bot on a VPS with systemd: https://plati.market/itm/telegram-bot-on-vps-with-systemd-autostart-restart-logs-templates-guide/6410458
• n8n: Telegram bot for requests in Google Sheets: https://plati.market/itm/n8n-telegram-bot-for-requests-client-replies-in-google-sheets-template-guide/6399486
• Competitor price monitor: https://plati.market/itm/competitor-price-monitor-parser-telegram-alerts-python-script-guide/6423405
• n8n: auto-posting to Telegram from RSS and Sheets: https://plati.market/itm/n8n-auto-posting-to-telegram-channel-from-rss-and-google-sheets-template-guide/6410621
REVIEWS
Reviews: (0)
No customer reviews yet.

