Gitlab@Informatics

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

Edit cart.php

parent ef811cc5
Branches
No related tags found
No related merge requests found
...@@ -51,7 +51,9 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC); ...@@ -51,7 +51,9 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
<h2>ตะกร้าสินค้า</h2> <h2>ตะกร้าสินค้า</h2>
<?php if (empty($cart_items)): ?> <?php if (empty($cart_items)): ?>
<div style="text-align: center;">
<p>ไม่มีสินค้าในตะกร้า</p> <p>ไม่มีสินค้าในตะกร้า</p>
</div>
<?php else: ?> <?php else: ?>
<div class="table-container"> <div class="table-container">
<table border="1" cellpadding="5" cellspacing="0"> <table border="1" cellpadding="5" cellspacing="0">
...@@ -92,5 +94,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC); ...@@ -92,5 +94,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
</table> </table>
</div> </div>
<br> <br>
<div style="text-align: center;">
<a href="checkout.php">🛒 ดำเนินการชำระเงิน</a> <a href="checkout.php">🛒 ดำเนินการชำระเงิน</a>
</div>
<?php endif; ?> <?php endif; ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment