Fix: Product Detail / List would not show the quantity.
This commit is contained in:
parent
afa4fd4711
commit
0b3ec5da16
@ -408,6 +408,7 @@ def product_info(item: ProductVersion) -> schemas.Product:
|
|||||||
price=item.price,
|
price=item.price,
|
||||||
hasHappyHour=item.has_happy_hour,
|
hasHappyHour=item.has_happy_hour,
|
||||||
isNotAvailable=item.is_not_available,
|
isNotAvailable=item.is_not_available,
|
||||||
|
quantity=item.quantity,
|
||||||
isActive=True,
|
isActive=True,
|
||||||
sortOrder=item.sort_order,
|
sortOrder=item.sort_order,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user