DEV Community

ILIA CHERKASOV
ILIA CHERKASOV

Posted on

I built a Telegram Shop Bot in Python — full e-commerce in Telegram

I built a fully functional e-commerce shop bot for Telegram in Python. No website needed — customers browse, add to cart, and order right in Telegram!

What it does

Perfect for online stores, local shops, dropshipping:

  • 🛍 Product catalog with categories
  • 🛒 Shopping cart — add, remove, clear
  • ✅ Full checkout flow (name, phone, address)
  • 📦 Order history for customers
  • 🔧 Admin panel — view & confirm orders
  • 🔔 Instant admin notification on every order
  • ➕ Add/remove products without coding
  • 💾 No database needed — simple JSON file

Tech stack

  • Python 3.10+
  • python-telegram-bot v20 (async)
  • JSON for storage

Setup takes 5 minutes

  1. Create bot via @botfather
  2. Add token to .env file
  3. pip install -r requirements.txt
  4. python bot.py

Get the source code

👉 https://cherkasov1.gumroad.com/l/telegram-shop-bot

Happy to answer any questions in the comments!

Top comments (1)

Collapse
 
pythonbotdev profile image
ILIA CHERKASOV

Feel free to ask questions about the setup —
happy to help in the comments!