Fix: Product Detail / List would not show the quantity.

This commit is contained in:
Amritanshu Agrawal 2021-08-06 08:20:18 +05:30
parent afa4fd4711
commit 0b3ec5da16
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ def product_info(item: ProductVersion) -> schemas.Product:
price=item.price,
hasHappyHour=item.has_happy_hour,
isNotAvailable=item.is_not_available,
quantity=item.quantity,
isActive=True,
sortOrder=item.sort_order,
)