-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshop.html
60 lines (47 loc) · 1.8 KB
/
shop.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add to shopping cart</title>
<link rel="stylesheet" href="shopStyle.css">
<!--Shop external style sheet-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="./shopScript.js" type="module"></script>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
</head>
<body class="shop-container">
<!-- Shop Header -->
<header class="shopNavBar">
<div class="leftItem">
<h1 class="title">Our Products</h1>
<nav class="shop-nav">
<li class="shop-navLink">Fertilizers</li>
<li class="shop-navLink">Seeds</li>
<li class="shop-navLink">Machines</li>
</nav>
</div>
<div class="rightItem" id="shoppingCart">
<span class="totalItem" id="totalItem"></span>
<i class="fa-solid fa-cart-shopping shop-navLink"></i>
</div>
</header>
<!-- Item Cards -->
<div class="itemContainer" id="itemContainer"></div>
<div class="cartContainer" id="cartContainer">
<div id="closeCart">
<h3 class="closeCart">Close</h3>
</div>
<h1 id="cartTitle">No Item</h1>
<!-- each cart Container -->
<div id="eachCartItemContainer"></div>
<di id="totalPriceContainer">
<p>Total Price Rs. <span id="totalPrice"></span></p>
</di>
<di id="payNowContainer">
<p onclick="window.open('shopPayment.html', '_blank')">Checkout <i class="fa fa-arrow-right"
aria-hidden="true"></i><span id="pay"></span></p>
</di>
</div>
</body>
</html>