-
Notifications
You must be signed in to change notification settings - Fork 6
/
carrito.html
148 lines (139 loc) · 10.4 KB
/
carrito.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Shopping Cart - Brand</title>
<link rel="icon" href="assets/img/LOGO.png">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,700,700i,600,600i">
<link rel="stylesheet" href="assets/fonts/font-awesome.min.css">
<link rel="stylesheet" href="assets/fonts/line-awesome.min.css">
<link rel="stylesheet" href="assets/fonts/simple-line-icons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.4.8/swiper-bundle.min.css">
<link rel="stylesheet" href="assets/css/Simple-Slider.css">
<link rel="stylesheet" href="assets/css/general.css">
<link rel="stylesheet" href="assets/css/vanilla-zoom.min.css">
</head>
<body>
<nav class="navbar navbar-light navbar-expand-lg fixed-top bg-white clean-navbar">
<div class="container">
<div><img src="assets/img/LOGO.png" onclick="inicio()"><img src="assets/img/LETRAS%20LOGO.png" onclick="inicio()"></div><button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navcol-1">
<ul class="navbar-nav d-flex align-items-center align-content-center ms-auto">
<li class="nav-item"></li>
<li class="nav-item"><a class="nav-link" href="catalogo.html">catalogo</a></li>
<li class="nav-item d-flex flex-row-reverse"><button id="cantCarrito" class="btn btn-primary" type="button" style="background: rgb(13,136,208);border-radius: 10px;border-top-right-radius: 10px;border-bottom-right-radius: 10px;border-top-left-radius: 10px;font-family: Montserrat, sans-serif;"
onclick="verCarrito()"><span>Cantidad</span><i class="fa fa-shopping-cart" style="margin-left: 10px;"></i></button></li>
<li class="nav-item d-flex flex-row-reverse">
<div class="d-flex flex-column-reverse">
<div>
<div class="input-group"><input class="form-control" type="text" style="border-color: RGB(13,136,208);border-top-left-radius: 10px;border-bottom-left-radius: 10px;width: 190px;"><button class="btn btn-primary" type="button" style="border-top-right-radius: 10px;border-bottom-right-radius: 10px;background: rgb(13,136,208);"><i class="fa fa-search" style="width: 80%;"></i></button></div>
</div>
<div class="d-flex flex-row-reverse justify-content-around"><a href="./perfilUsuario.html"><i class="la la-user"></i></a><a id="login_header" href="login.html" style="font-family: Montserrat, sans-serif;">iniciar sesión/registrarse</a></div>
</div>
</li>
</ul>
</div>
</div>
</nav>
<main class="page shopping-cart-page">
<section class="clean-block clean-cart dark">
<div class="container">
<div class="block-heading">
<h2 class="text-info">Carrito de compras</h2>
<p>Aquí están tus productos seleccionados. Listos para comprar.</p>
</div>
<div class="content">
<div class="row g-0">
<div class="col-md-12 col-lg-8">
<div class="items" id="impr-carrito">
<div class="product">
<div class="row justify-content-center align-items-center">
<div class="col-md-3">
<div class="product-image"><img class="img-fluid d-block mx-auto image" src="assets/img/subirImagen.png"></div>
</div>
<div class="col-md-5 product-info"><a class="product-name" href="#" style="color: rgb(13,136,208);">Producto 1</a>
<div class="product-specs">
<div><span>Detalles: </span><span class="value">Descripcion</span></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class="col-6 col-md-2 quantity"><label class="form-label d-none d-md-block" for="quantity">Cantidad</label><input type="number" id="number" class="form-control quantity-input" value="1"></div>
<div class="col-6 col-md-2 price"><span>$120</span></div>
</div>
</div>
<div class="product">
<div class="row justify-content-center align-items-center">
<div class="col-md-3">
<div class="product-image"><img class="img-fluid d-block mx-auto image" src="assets/img/subirImagen.png"></div>
</div>
<div class="col-md-5 product-info"><a class="product-name" href="#" style="color: rgb(13,136,208);">Producto 2</a>
<div class="product-specs">
<div><span>Detalles: </span><span class="value">Decripcion</span></div>
<div></div>
<div></div>
</div>
</div>
<div class="col-6 col-md-2 quantity"><label class="form-label d-none d-md-block" for="quantity">Cantidad</label><input type="number" id="number" class="form-control quantity-input" value="1"></div>
<div class="col-6 col-md-2 price"><span>$120</span></div>
</div>
</div>
<div class="product">
<div class="row justify-content-center align-items-center">
<div class="col-md-3">
<div class="product-image"><img class="img-fluid d-block mx-auto image" src="assets/img/subirImagen.png"></div>
</div>
<div class="col-md-5 product-info"><a class="product-name" href="#" style="color: rgb(13,136,208);">Producto 3</a>
<div class="product-specs">
<div><span>Detalles: </span><span class="value">Descripcion</span></div>
<div></div>
</div>
</div>
<div class="col-6 col-md-2 quantity"><label class="form-label d-none d-md-block" for="quantity">Cantidad</label><input type="number" id="number" class="form-control quantity-input" value="1"></div>
<div class="col-6 col-md-2 price"><span>$120</span></div>
</div>
</div>
</div>
</div>
<div class="col-md-12 col-lg-4" id="pagar-div">
<div class="summary" style="background: url("https://cdn.bootstrapstudio.io/placeholders/1400x800.png");">
<h3 style="color: rgb(13,136,208);">Resumen</h3>
<h4><span class="text">Subtotal</span><span class="price">$360</span></h4>
<h4><span class="text">Descuento</span><span class="price">$0</span></h4>
<h4><span class="text">Costo de envío</span><span class="price">$0</span></h4>
<h4><span class="text" style="color: rgb(13,136,208);">Total</span><span class="price" style="color: rgb(13,136,208);">$360</span></h4><button id="pagar-btn" class="btn btn-primary btn-lg d-block w-100" type="button" style="background: rgb(13,136,208);"
onclick="realizarPedido()">Proceder al pago</button>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="page-footer dark">
<div class="footer-copyright">
<p>© Equipo 3 | Análisis y diseño orientado a objetos | 2CV16 | IPN-ESCOM<br><br></p>
</div>
</footer>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.3/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.6.3/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.3/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.3/firebase-analytics.js"></script>
<script src="./js/firebaseKey.js"></script>
<script src="./js/carrito.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.js"></script>
<script src="assets/js/vanilla-zoom.js"></script>
<script src="assets/js/theme.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.4.8/swiper-bundle.min.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/Simple-Slider.js"></script>
</body>
</html>