|
|
@@ -206,9 +206,12 @@ def format_order_items(items: list[CartOrderInfo | dict[str, str | int]]) -> str
|
|
|
|
|
|
item_title = i.title
|
|
|
|
|
|
- if i.options.size and i.options.style:
|
|
|
- item_title = f"{item_title} ({i.options.style.capitalize()} / Size {i.options.size.upper()})"
|
|
|
-
|
|
|
+ if i.options.style:
|
|
|
+ item_title += f" - {i.options.style.capitalize()}"
|
|
|
+
|
|
|
+ if i.options.size:
|
|
|
+ item_title += f" Size {i.options.size.upper()}"
|
|
|
+
|
|
|
item = (
|
|
|
f" - code: '{i.code}'\n"
|
|
|
f" title: '{item_title}'\n"
|