-
Notifications
You must be signed in to change notification settings - Fork 1
/
cart.html
160 lines (140 loc) · 5.28 KB
/
cart.html
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
160
<!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>Your Shopping Cart - bluemercury</title>
<link rel="stylesheet" href="./styles/cart.css" />
<link
rel="shortcut icon"
href="https://cdn.shopify.com/s/files/1/0283/0185/2747/files/favicon_48x48.png?v=1591627636"
type="image/x-icon"
/>
<!-- slick css---- -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"
integrity="sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css"
integrity="sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- ----------------------------------------P-css---------------------------- -->
<link rel="stylesheet" href="./P_style_folder/P_style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="./styles/side_cart.css" />
</head>
<body>
<!-- ------------------------------header------------------------ -->
<div id="header"></div>
<!-- just put this div in every page for side cart------------------ -->
<div id="U-sideCart">
</div>
<div id="U-top" class="U-pad">
<h2>YOUR BAG</h2>
<div>
<svg width="18" height="18">
<g transform="translate(0 -1)" fill="none" fill-rule="evenodd">
<rect fill="#FF8189" y="1" width="18" height="18" rx="9"></rect>
<text
font-family="Montserrat-SemiBold, Montserrat"
font-size="16"
font-weight="500"
fill="#FFF"
>
<tspan x="6.776" y="15">!</tspan>
</text>
</g>
</svg>
<p>Your Order Qualifies for Free Ground Shipping!</p>
</div>
</div>
<div id="U-gift" class="U-pad">
<h3>Your cart (<span id="cart_quant">0</span> items)</h3>
<div>
<input type="checkbox" id="IsGift" />
<div>
<p>IS THIS ORDER A GIFT</p>
<p>The price of your order will be hidden on the gift receipt.</p>
<button id="Gift-btn">
Show Gift Options
<svg class="giftAr" role="presentation" viewBox="0 0 21 11">
<polyline
fill="none"
stroke="currentColor"
points="0.5 0.5 10.5 10.5 20.5 0.5"
stroke-width="1.25"
></polyline>
</svg>
</button>
</div>
</div>
</div>
<div id="U-items" class="U-pad"></div>
<div id="U-blue" class="U-pad">
<h3>BLUE<span style="color: #293c58">REWARDS</span></h3>
<p>
JOIN OUR FREE LOYALTY PROGRAM FOR FREE SHIPPING ON THIS - AND ALL -
ORDERS. PLUS, EARN $10 FOR EVERY $250 YOU SPEND!
</p>
<button>JOIN NOW</button>
</div>
<div id="U-pay-btn" class="U-pad">
<p>Subtotal <span id="total">$300</span></p>
<p>
Shipping, Taxes, Beauty Cards, and additional discounts applied at
checkout
</p>
<button id="checkout">CHECKOUT</button>
<button id="U-paypal">
<img
src="http://assets.stickpng.com/images/580b57fcd9996e24bc43c530.png"
/>
</button>
<p>
4 interest-free payments of $76.25 with <b>Klarna</b>.
<span style="text-decoration: underline">Learn More</span>
</p>
</div>
<div id="U-all_slide">
<h2>BEST NAIL POLISH</h2>
<div class="U-slider" id="nail_polish">
</div>
</div>
<div id="U-all_slide">
<h2>NEW EYE LINERS</h2>
<div class="U-slider" id="eye_liner">
</div>
</div>
<!-- -----------------------footer----------------------------- -->
<div id="P-container"></div>
</body>
</html>
<script src="./scripts/side-cart.js" type="module"></script>
<script src="./scripts/cart.js"></script>
<!-- slick-carousel---- -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"
integrity="sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="./scripts/cart-slick.js"></script>
<!-- -----------------------P_scripts------------------------------ -->
<script src="/scripts/P_index.js" type="module"></script>
<script src="/scripts/P_index2.js"></script>
<script src="/scripts/footer2.js" type="module"></script>
<script>
document.getElementById("checkout").addEventListener("click", ()=>{
window.location.href = "./Checkout/page.html"
})
</script>