From 216593b090e5528af7d8507c351246f451e9082c Mon Sep 17 00:00:00 2001
From: 65160260 <65160260@go.buu.ac.th>
Date: Wed, 26 Mar 2025 03:21:47 +0000
Subject: [PATCH] Edit cart.php

---
 cart.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cart.php b/cart.php
index 8328da0..9740458 100644
--- a/cart.php
+++ b/cart.php
@@ -51,7 +51,9 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
 <h2>ตะกร้าสินค้า</h2>
 
 <?php if (empty($cart_items)): ?>
+<div style="text-align: center;">
     <p>ไม่มีสินค้าในตะกร้า</p>
+</div>
 <?php else: ?>
     <div class="table-container"> 
     <table border="1" cellpadding="5" cellspacing="0">
@@ -92,5 +94,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
     </table>
     </div>
     <br>
+    <div style="text-align: center;">
     <a href="checkout.php">🛒 ดำเนินการชำระเงิน</a>
+    </div>
 <?php endif; ?>
-- 
GitLab