https://github.com/mscbuild/telegram-woocommerce-shop
๐ Telegram store for WooCommerce. This project is a Telegram bot that connects to WooCommerce via REST API, displays products, allows you to collect a cart and place orders directly in Telegram.
https://github.com/mscbuild/telegram-woocommerce-shop
business java node payment rest-api shop telegram woocommerce wordpress
Last synced: 2 months ago
JSON representation
๐ Telegram store for WooCommerce. This project is a Telegram bot that connects to WooCommerce via REST API, displays products, allows you to collect a cart and place orders directly in Telegram.
- Host: GitHub
- URL: https://github.com/mscbuild/telegram-woocommerce-shop
- Owner: mscbuild
- License: mit
- Created: 2025-07-14T17:48:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-03-22T19:32:37.000Z (3 months ago)
- Last Synced: 2026-03-23T11:11:49.605Z (3 months ago)
- Topics: business, java, node, payment, rest-api, shop, telegram, woocommerce, wordpress
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Telegram store for WooCommerce

[](http://mscbuild.github.io/)







This project is a Telegram bot that connects to WooCommerce via REST API, displays products, allows you to collect a cart and place orders directly in Telegram.
## ๐ Possibilities
- Getting a list of products from WooCommerce
- Adding items to cart
- Step-by-step ordering (name, phone, email)
- Sending Orders in WooCommerce
- Telegram Admin Notice
---
## โ๏ธ Installation
### 1. Clone the project
~~~bash
git clone https://github.com/yourusername/telegram-woocommerce-shop.git
cd telegram-woocommerce-shop
~~~
### 2.Install dependencies
~~~bash
npm install
~~~
### 3.Mood
Create a `.env` file based on `.env.example` and add the keys:
~~~bash
TELEGRAM_BOT_TOKEN=xxx
ADMIN_CHAT_ID=123456789
WOOCOMMERCE_URL=https://yourstore.com
WOOCOMMERCE_CONSUMER_KEY=ck_xxxxxxxxx
WOOCOMMERCE_CONSUMER_SECRET=cs_xxxxxxxxx
~~~
### 4. Launch the bot
~~~bash
npm start
~~~
๐ Structure
~~~bash
โโโ bot.js # Basic logic of the bot
โโโ config.js # Configuration (uses .env)
โโโ .env.example # Configuration template
โโโ .gitignore # Ignored files
โโโ package.json
โโโ README.md
~~~
# ๐งฉ What the bot will be able to do?
- โ
Get a list of products from WooCommerce
- โ
Show products in Telegram with photos and buttons
- โ
When clicking "Buy" - place an order via WooCommerce API
- โ
Send you a notification in Telegram about a new order
# โ That the user can:
- ๐ฆ Add multiple items
- ๐งบ View cart
- โ
Place one order with multiple items
## License
This project is licensed under the MIT License.