CMXX - API based checkout

This commit is contained in:
“VeLiTi”
2025-02-12 11:16:41 +01:00
parent 8201d7804b
commit 2eaf83c3fe
8 changed files with 611 additions and 747 deletions

View File

@@ -38,13 +38,13 @@
</tr>
</thead>
<tbody>
<?php foreach($products as $product): ?>
<?php foreach($products_in_cart['cart_details']['products'] as $product): ?>
<tr>
<td><?=$product['meta']['name']?></td>
<td><?=$product['options']?></td>
<td><?=$product['quantity']?></td>
<td><?=currency_code?><?=number_format($product['final_price'],2)?></td>
<td style="text-align:right;"><?=number_format($product['final_price'] * $product['quantity'],2)?></td>
<td><?=currency_code?><?=number_format($product['option_price'],2)?></td>
<td style="text-align:right;"><?=number_format($product['option_price'] * $product['quantity'],2)?></td>
</tr>
<?php endforeach; ?>
<tr>