Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit a5ad21e3 authored by 65160260's avatar 65160260
Browse files

Edit cart.php

parent 5d7370b3
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
<?php if (empty($cart_items)): ?>
<p>ไม่มีสินค้าในตะกร้า</p>
<?php else: ?>
<div class="table-container">
<table border="1" cellpadding="5" cellspacing="0">
<tr>
<th>User ID</th>
......@@ -89,6 +90,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
<td colspan="2"><strong><?= number_format($total, 2) ?> บาท</strong></td>
</tr>
</table>
</div>
<br>
<a href="checkout.php">🛒 ดำเนินการชำระเงิน</a>
<?php endif; ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment