diff options
| author | Toshiro <toshiro@huitral.local> | 2026-02-01 03:17:06 +0100 |
|---|---|---|
| committer | Toshiro <toshiro@huitral.local> | 2026-02-01 03:17:06 +0100 |
| commit | 7579b72cba4248e1b33fae004a97c8513dfca005 (patch) | |
| tree | 1f69e33aebbe880bcf52a48301a23e959ff20652 /storefront/pages/order-confirmation.js | |
| parent | b7c594e72b993340bc6b70a74643506e543d3a12 (diff) | |
| parent | bc6f65dc9afa29fbb94038b1cfd5cbee2d87719c (diff) | |
merge:resolve conflicts
Diffstat (limited to 'storefront/pages/order-confirmation.js')
| -rw-r--r-- | storefront/pages/order-confirmation.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/storefront/pages/order-confirmation.js b/storefront/pages/order-confirmation.js new file mode 100644 index 0000000..c1ce8df --- /dev/null +++ b/storefront/pages/order-confirmation.js @@ -0,0 +1,17 @@ +import { useRouter } from "next/router"
+
+export default function OrderConfirmationPage() {
+ const router = useRouter()
+ const { order_id: orderId } = router.query
+
+ return (
+ <div style={{ maxWidth: "520px", margin: "0 auto" }}>
+ <h1>Merci pour votre commande</h1>
+ {orderId ? (
+ <p>Votre commande a bien été enregistrée : {orderId}</p>
+ ) : (
+ <p>Votre commande a bien été enregistrée.</p>
+ )}
+ </div>
+ )
+}
|
