Skip to content

Commit c58a175

Browse files
committed
✅ fixed #3 modified hardcoded quantity to dynamic
1 parent c0c6e8b commit c58a175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controller/cart_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CartController {
4141
item.key,
4242
FlutterCartItem(
4343
productId: item.productId,
44-
quantity: 1,
44+
quantity: item.quantity,
4545
productName: item.productName,
4646
unitPrice: item.unitPrice,
4747
productDescription: item.productDescription,

0 commit comments

Comments
 (0)