Online store in the bot.
This is a bot through which you can purchase goods. The bot provides categories of goods and the goods themselves. The buyer selects them and adds them to the cart (the buyer's cart is stored in a PostgreSQL database). If the buyer wants to place an order, they click the "Place Order" button in the cart. After that, the bot asks for the phone number, place of residence, and name. The bot sends the seller information (the cart that the buyer ordered, name, phone, place of residence, user nickname).
The seller can accept or decline the order. In case of a decline, they can specify the reason. The bot also has an administrative panel for the seller, where they can edit categories and goods, add, delete, or edit them (goods are stored in JSON files). The administrative panel also provides analytics: how many buyers have launched the bot, how many buyers have ordered goods, as well as the overall usage of the bot.
The seller can accept or decline the order. In case of a decline, they can specify the reason. The bot also has an administrative panel for the seller, where they can edit categories and goods, add, delete, or edit them (goods are stored in JSON files). The administrative panel also provides analytics: how many buyers have launched the bot, how many buyers have ordered goods, as well as the overall usage of the bot.