Telegram Cafe Bot: Menu, Cart and Orders on aiogram 3. Code + Guide
Sold <10
0 000 X
There are no such quantities in stock
By clicking the button, you agree to
terms for buyers
Secure deal
Instant delivery
Product description
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: /itm/telegram-lead-bot-on-aiogram-3-business-card-request-form-code-guide/6423255
• Telegram bot on a VPS with systemd: /itm/telegram-bot-on-vps-with-systemd-autostart-restart-logs-templates-guide/6410458
• n8n: Telegram bot for requests in Google Sheets: /itm/n8n-telegram-bot-for-requests-client-replies-in-google-sheets-template-guide/6399486
• Competitor price monitor: /itm/competitor-price-monitor-parser-telegram-alerts-python-script-guide/6423405
• n8n: auto-posting to Telegram from RSS and Sheets: /itm/n8n-auto-posting-to-telegram-channel-from-rss-and-google-sheets-template-guide/6410621
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: /itm/telegram-lead-bot-on-aiogram-3-business-card-request-form-code-guide/6423255
• Telegram bot on a VPS with systemd: /itm/telegram-bot-on-vps-with-systemd-autostart-restart-logs-templates-guide/6410458
• n8n: Telegram bot for requests in Google Sheets: /itm/n8n-telegram-bot-for-requests-client-replies-in-google-sheets-template-guide/6399486
• Competitor price monitor: /itm/competitor-price-monitor-parser-telegram-alerts-python-script-guide/6423405
• n8n: auto-posting to Telegram from RSS and Sheets: /itm/n8n-auto-posting-to-telegram-channel-from-rss-and-google-sheets-template-guide/6410621
Main features
- Content type File
- Content description 60,93 kB
- Updated on the site 18.11.2026
Images
Reviews
No reviews yet
0 000 X
There are no such quantities in stock
By clicking the button, you agree to
terms for buyers
Secure deal
Instant delivery
You viewed
All images, logos, and names of games, programs, and other products used are taken from public sources and are for informational purposes only. All trademarks, logos, names, and other intellectual property belong to their respective owners. Use of such images on the website does not imply any affiliation or connection with the copyright holders.