-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathShipping.html
More file actions
160 lines (148 loc) · 4.71 KB
/
Shipping.html
File metadata and controls
160 lines (148 loc) · 4.71 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bluefly</title>
<link rel="stylesheet" href="/styles/style.css" />
<link rel="icon" type="image/x-icon" href="/images/icon.jpg">
<script
src="https://kit.fontawesome.com/24c494a6b6.js"
crossorigin="anonymous"
></script>
<style>
#ship{
color: blue;
}
</style>
</head>
<body>
<div id="bb">
<div id="left">
<div id="section"><a href="index.html">
<img
id="checkout-logo"
src="https://cdn.shopify.com/s/files/1/0248/3473/6191/files/BLUEFLY-LOGO-11-20.png?180177"
alt=""
/></a>
<div id="breadcurm">
<p>Cart</p>
<i class="fa-solid fa-greater-than"></i>
<p><a href="Information.html" id="info">Information</a></p>
<i class="fa-solid fa-greater-than"></i>
<strong><p><a href="Shipping.html" id="ship">Shipping</a></p></strong>
<i class="fa-solid fa-greater-than"></i>
<p><a href="Payment.html" id="payt">Payment</a></p>
</div>
<!-- Information -->
<!-- <div style="background-color: aqua"> -->
<div id="shipping">
<div id="innerdiv">
<div>
<div>Contact</div>
<div id="UserEmail"></div>
<div>Change</div>
</div>
<hr />
<div>
<div>Ship to</div>
<div>
<p id="UserAddress"></p>
</div>
<div>Change</div>
</div>
</div>
<p id="sm1">shipping method</p>
<p id="sm2">shipping method</p>
<div id="innerdiv">
<div>
<div><input type="radio" name="aaaa" id="ship1" checked value="1" />
</div>
<div>Standard</div>
<div>$7.95</div>
</div>
<hr />
<div>
<div>
<input type="radio" name="aaaa" id="ship2" value="2" />
</div>
<div>Expedited</div>
<div>$19.95</div>
</div>
</div>
</div>
<div id="form-footer">
<p>Return to cart</p>
<button id="shippintopayment">Continue to Payment</button>
</div>
<hr />
<!-- Information -->
<div id="checkout-footer">
<a href="#">Refund policy</a>
<a href="#">Shipping policy</a>
<a href="#">Privacy policy</a>
<a href="#">Terms of service</a>
</div>
</div>
</div>
<div id="right">
<div id="section">
<div id="product"></div>
<!-- <div id="product">
<div id="pro-img">
<img
src="https://cdn.shopify.com/s/files/1/0248/3473/6191/products/1411277626_RLLZ_1_small.jpg?v=1651555978"
alt=""
/>
<div id="qty">5</div>
</div>
<div id="pro-name">
<h4>Draper James Linen Coat</h4>
<p>Regular 12 (L) / White</p>
</div>
<div id="pro-prices">
<h3>$80.33</h3>
</div>
</div> -->
<hr />
<div id="gift">
<input type="text" placeholder="Gift card or discount code" id="coupon"/>
<button id="applycode">Apply</button>
</div>
<hr />
<div id="subtotal">
<div>
<p>Subtotal</p>
<p>Shipping</p>
</div>
<div>
<p id="total-prices"></p>
<p id="shiptax">Calulated at next step</p>
</div>
</div>
<hr />
<div id="total">
<div>
<p>Total</p>
</div>
<div><h3 id="finalt"></h3></div>
</div>
</div>
</div>
</div>
</body>
</html>
<script>
localStorage.setItem("shippingMethod",0)
</script>
<script src="/scripts/last.js"></script>
<script>
let UserDetails = JSON.parse(localStorage.getItem("UserDetails"))
document.getElementById("UserEmail").innerText=UserDetails.Email
document.getElementById("UserAddress").innerText=`${UserDetails.Add}, ${UserDetails.Zip}, ${UserDetails.City}, ${UserDetails.State}, ${UserDetails.Region}`
const Payment = () => {
window.location.href="Payment.html"
}
document.getElementById("shippintopayment").addEventListener("click",Payment)
</script>