From c2b4c4a69050ad1d816bd1160cd6f7509c912aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Afra=20=E2=80=8C?= Date: Sat, 5 Sep 2026 14:00:55 +0330 Subject: [PATCH] fix: minor modification on cart page's design --- src/app/(customer)/(shop)/cart/page.tsx | 37 ++++++++++++++----------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/src/app/(customer)/(shop)/cart/page.tsx b/src/app/(customer)/(shop)/cart/page.tsx index 56ee906..a33af69 100644 --- a/src/app/(customer)/(shop)/cart/page.tsx +++ b/src/app/(customer)/(shop)/cart/page.tsx @@ -26,10 +26,7 @@ export default async function CartPage() { ); return ( -
- {/* DOM order intentionally mirrors the screenshot's left→right layout, not reading - order — under this app's inherited dir="rtl", the first child renders at the - right edge and the last at the left. */} +
@@ -49,7 +46,11 @@ export default async function CartPage() { )} @@ -65,19 +66,23 @@ export default async function CartPage() { ))}
-
-
- - جمع کل سبد ({cart.groups.length.toLocaleString("fa-IR")} فروشگاه،{" "} - {totalItemLines.toLocaleString("fa-IR")} کالا) +
+
+
+ + جمع کل سبد ({cart.groups.length.toLocaleString("fa-IR")} فروشگاه،{" "} + {totalItemLines.toLocaleString("fa-IR")} کالا) + + +

+ هر فروشگاه جداگانه پرداخت و ارسال می‌شود +

+
+ + + {cart.grand_total.toLocaleString("fa-IR")} تومان -

- هر فروشگاه جداگانه پرداخت و ارسال می‌شود -

- - {cart.grand_total.toLocaleString("fa-IR")} تومان -
);