-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcheckout.html
More file actions
60 lines (53 loc) · 2.21 KB
/
checkout.html
File metadata and controls
60 lines (53 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Checkout — Paavan</title>
<link rel="stylesheet" href="styles.css">
</head>
<body data-nav-active="catalog">
<div id="site-header"></div>
<main class="site-main checkout-grid">
<h1>Checkout</h1>
<p style="color:#565959">Demo checkout — no payment is processed. Replace with your PSP in production.</p>
<div class="checkout-card">
<h2>1. Shipping address</h2>
<label>Full name<input type="text" name="name" autocomplete="name" required /></label>
<label>Street & number<input type="text" name="street" autocomplete="street-address" required /></label>
<label>Postal code<input type="text" name="zip" autocomplete="postal-code" required /></label>
<label>City<input type="text" name="city" autocomplete="address-level2" required /></label>
<label>Country
<select name="country">
<option>Germany</option>
<option>Austria</option>
<option>Netherlands</option>
<option>France</option>
</select>
</label>
</div>
<div class="checkout-card">
<h2>2. Delivery</h2>
<label><input type="radio" name="ship" checked /> Standard (3–5 days) — FREE over €29</label><br />
<label><input type="radio" name="ship" /> Express (1–2 days) — €9.99</label>
</div>
<div class="checkout-card">
<h2>3. Payment</h2>
<label><input type="radio" name="pay" checked /> Card (Visa, Mastercard)</label><br />
<label><input type="radio" name="pay" /> PayPal</label><br />
<label><input type="radio" name="pay" /> Klarna</label>
</div>
<button type="button" class="btn-checkout" id="place-order" style="border:none;cursor:pointer;font-size:16px">
Place your order (demo)
</button>
</main>
<div id="site-footer"></div>
<script src="layout.js"></script>
<script>ShopLayout.inject('catalog');</script>
<script>
document.getElementById('place-order').addEventListener('click', function () {
alert('Demo only — no charge. Paavan Retail GmbH would send order confirmation email here.');
});
</script>
</body>
</html>