Telegram Bot in Python, auto-sale goods store


A Python bot, a store with a catalog and auto-sale of goods, replenishment methods: cards, USDT, TRX, LTC, BTC. Implemented i18n: English and Russian

Telegram Bot in Python, auto-sale goods store


A store with the functionality of multi-cities. Shop in Telegram: catalog, YooMoney payment, shopping cart, multi-cities and multi-sellers, mailing lists, multilingual support and much more.

##Modules

managing the user's location, storing the user's city
managing interface languages
managing goods and product categories
managing stores
managing recreation places, artists, events
managing clubs, places of study
managing private ads
managing user balances
managing orders and delivery of goods
managing mailing messages
##Functions for the user

catalog of two levels, category - product basket
support (contacts) - link to the dialogue with the administrator
FAQ - message for users with HTML markup
detailed statistics of the bot: number of deposits, purchases, users, positions, categories, net profit
location of the user
##Admin Functions

technical work mode
checking for the presence of a failure at startup
activation/deactivation of sales and payment functions
adding an unlimited number of global administrators
the role of the store administrator who manages his goods in the catalog
adding an unlimited number of store administrators
convenient and multifunctional admin panel
determining and storing the city where the goods
are located searching for buyers and viewing profiles
searching for purchase receipts
sending messages to all bot users
changing and replenishing the user's balance
report on sales of sellers
##Payment for goods

the QIWI and YooMoney libraries are used
and configured by the bot administrator through the admin
panel health check from the admin
panel withdrawal of the QIWI wallet balance
##Catalog and products

User-friendly catalog
products have one image
flexible management of goods by administrators
unloading of all goods
##Protection

admin filters for all handlers that guarantee the privacy of the admin functionality
protection from payment in tenge when replenishing the balance
protection from incorrect HTML syntax
protection from re-issuing the balance
protection from spam in the bot (Middlewares)
##settings.ini settings

install the Bot token received from @BotFather
install the Telegram administrator ID
##Setup

Copy the bot folder. Go to the bot folder.
Run "pip install -r" on the command line requirements.txt ".
Fill in the settings.ini file.
Start the bot on the command line: python3 main.py .
Fill in the information fields.
Fill the catalog with products.
Attract users to the catalog.
##Site administration process

Approval of sellers.
Directory administration.
Administration of funds.
Support and transaction management, dispute resolution.
##The buying process for the buyer

Product selection.
Replenishment of the account.
Waiting for the seller's call and clarifying the parameters of the house.
Receipt of the goods.
Confirmation of receipt.
Sending customer feedback.
#The sales process for the seller

Receiving an order message.
A call to the buyer.
Sending the goods to the buyer.
Getting customer feedback.
###TODO:

web-showcase of goods
##Updates: September 25, 2023: Fixes and improvements

added quantity switch in the position card
added the option to enable/disable deep link in the position card
added the option to enable/disable position ratings
added logos in the catalog for categories
added the LTC payment method
moved the configuration to YAML format and checked at the start of the bot.
admin roles from the configuration file are automatically updated to users who are in the bot database.
##DeepLink - the ability to share with the whole Internet

the bot automatically creates a link to your product
when you enter the browser, the bot automatically opens the product card.


Go back
15-11-2023, 05:51