fix: order and add to order
This commit is contained in:
@@ -429,8 +429,10 @@ class _HomePageState extends State<HomePage> {
|
||||
}
|
||||
return products
|
||||
.map((e) =>
|
||||
e.product.price! *
|
||||
e.quantity)
|
||||
(e.product.price! *
|
||||
e.quantity) +
|
||||
(e.variant?.priceModifier ??
|
||||
0))
|
||||
.reduce((value, element) =>
|
||||
value + element);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user