Can a cart like subtotal, discouts, tax n total be added here so then it calculates all & updates the table.
I can do the math or general like
<?php
$productprice = $row_Produ...
$quantity = $Row_ProductQ.....
$TotalPrice = $productprice * $quantity;
?>
But in my case there are multiple products in repeat region.
Looks like this :
<tr>
<td><?php echo $row_OrderDetails['DetailName'];?> <?php if($row_OrderDetails['AdminAdded'] == 1) {?> * <?php }?>
</td>
<td>₹<?php echo $row_OrderDetails['DetailPrice'];?></td>
<td><?php echo $row_OrderDetails['DetailQuantity'];?></td>
<td align="left">₹ <?php echo $row_OrderDetails['TotalPrice'];?></td>
</tr>