ilyarolf / AiogramShopBot

Aiogram Telegram bot shop with ways to deposit in BTC, LTC, USDT TRC-20, USDT ERC-20, USDD TRC-20, USDC ERC-20.
https://t.me/demo_aiogramshopbot
MIT License
63 stars 21 forks source link

Feature request: add physical goods with shipment optionally #68

Open 6R1M5L07H opened 1 week ago

6R1M5L07H commented 1 week ago

User Story

As a shop owner I want to be able to offer all kinds of goods, no matter if digital or physical so that I can offer delivery through shipment as well. I want to be able to configure shipments and their prices. Shipments should be named and have a price. In the description field, I want to provide a short information about the shipment, e.g. if the shipment has insurrence, if there are limitations to the delivery address etc.

Reason

In order to make your shop a solution for both physical and digital goods, the shop needs to provide additional features for physical goods.

Proposal for solution

Introduce a shipment entity and extend the purchase workflow such that digital goods do not need shipments but physical goods do

Solution design

Shipment (new entity)

The Shipment entity consists of

Item (extend existing entity)

CartItem (extend existing entity from #63 )

Cart (extend existing entity)

Checkout workflow

Limitation