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

View File

@ -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,
) )