catalogue operations, db migr and so on.

pre release version.
This commit is contained in:
2026-03-11 20:26:38 +07:00
parent 1af0cf1826
commit 7f4f8a883d
17 changed files with 284 additions and 63 deletions

View File

@@ -24,3 +24,8 @@ def get_order_item_list(cart: CartDTO):
text += f"\n━━━━━━━━━━━━━━\n💰 Итого: {cart.total}"
return text
def get_breadcrumps_path(products: list[Product]) -> str:
products_str = f" -> {' -> '.join([x.name for x in products])}" if products else ""
return f"<b>🏠 Каталог{products_str}</b>"