CMXX - API based checkout
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -39,13 +39,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>
|
||||
|
||||
Reference in New Issue
Block a user