fix: order and add to order
This commit is contained in:
@@ -380,7 +380,8 @@ class _SuccessSaveOrderPageState extends State<SuccessSaveOrderPage> {
|
||||
|
||||
Widget _buildProductCard(int index) {
|
||||
final item = widget.productQuantity[index];
|
||||
final totalPrice = (item.product.price ?? 0) * item.quantity;
|
||||
final totalPrice = (item.product.price ?? 0) * item.quantity +
|
||||
(item.variant?.priceModifier ?? 0);
|
||||
|
||||
return Container(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
|
||||
Reference in New Issue
Block a user