-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
254 lines (206 loc) · 9.05 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<!-- saved from url=(0049)https://getbootstrap.com/docs/4.3/examples/album/ -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="">
<title>eMercado - Todo lo que busques está aquí</title>
<script src="https://kit.fontawesome.com/001e6abbe2.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="canonical" href="https://getbootstrap.com/docs/4.3/examples/album/">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="css/dropzone.css" rel="stylesheet">
</head>
<body>
<nav id="barraNavegacion" class="navbar navbar-expand-lg navbar-dark bg-danger">
<div class="container container-fluid">
<div class="collapse navbar-collapse " id="navbarNav">
<ul class="navbar-nav ">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Inicio</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="categories.html">Categorías</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="products.html">Productos</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="sell.html">Vender</a>
</li>
</ul>
</div>
<div class="navbar-brand" id= "UsuarioContenedor"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div id="spinner-wrapper">
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class="container py-5 my-5">
<table class="table">
<thead class="table-dark">
<tr>
<th scope="col"></th>
<th scope="col">Nombre</th>
<th scope="col">Cantidad</th>
<th scope="col">Precio</th>
<th scope="col">Subtotal</th>
<th></th>
</tr>
</thead>
<tbody id="productsContainer">
</tbody>
<tfoot>
<th></th>
<th></th>
<th></th>
<th>Total</th>
<th id="totalCount"></th>
</tfoot>
</table>
</div>
<div id="ContenedorPagosGeneral" class="container">
<div class="row d-flex justify-content-between">
<div id="ContenedorTiposEnvio" class="col-lg-5 mb-5 p-4">
<form>
<h4 class="my-5 text-center">Tipo de envío</h4>
<input type="radio" id="oro" name="Envio" value="0" checked>
<label for="oro" ><b>Oro</b>: recibe el mismo día de la compra (aumento 15%)</label><br>
<input type="radio" id= "premium" name="Envio" value="1">
<label for="premium "><b>Premium</b>: 2 a 5 días de espera (aumento 7%)</label><br>
<input type="radio" id="estandar" name="Envio" value="2">
<label for="estandar "><b>Estándar</b>: 5 a 10 días de espera (aumento 5%)</label>
</form>
<h4 class="mt-5 text-center">Costos</h4>
<ul class="list-group ">
<li class="list-group-item d-flex justify-content-between lh-condensed DireccionData">
<h6>Subtotal</h6>
<span id="subtotalCostos">0</span>
</li>
<li class="list-group-item d-flex justify-content-between lh-condensed DireccionData">
<h6>Costo de Envio</h6>
<span id="envioCostos">0</span>
</li>
<li class="list-group-item d-flex justify-content-between lh-condensed DireccionData">
<h6>Total</h6>
<span id="tatalCostos">0</span>
</li>
</ul>
</div>
<div id="ContenedorEnvios" class="col-lg-6 p-4">
<h4 class="text-center">Dirección de envio</h4>
<div class="row my-5">
<div class="col-lg-6 ">
<label for="">Calle:</label>
<input id="calleInput" class="form-control" type="text" style="font-size: medium;" required>
<p id="mensaje0" class="mensajeError">campo incompleto</p>
</div>
<div class="col-lg-6">
<label for="">Número:</label>
<input id="numeroImput" class="form-control" type="text" style="font-size: medium;" required>
<p id="mensaje1" class="mensajeError">campo incompleto</p>
</div>
<div class="col-lg-12">
<label for="">Esquinas:</label>
<input id="esquinaInput" class="form-control" type="text" style="font-size: medium;" required>
<p id="mensaje2" class="mensajeError">campo incompleto</p>
</div>
</div>
<div id="ForPago">
<h4 class="text-center">Forma de Pago</h4>
<!-- Button trigger modal -->
<button id="toggleBoton" href="#" data-toggle="modal" data-target="#staticBackdrop">
Metodo de Pago
</button>
<!-- Modal -->
<div class="modal fade" id="staticBackdrop" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Formas de Pago</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="radio" id="tarjetaPago" name="pago" checked>
<label for="" class="p-2">Tarjeta de credito</label><br>
<hr>
<div class="row">
<div class="col-6">
<label>N° de tarjeta</label>
<input id="tarjetaInput" type="text" class="form-control" style="font-size: medium;" >
<p id="mensaje3" class="mensajeError">campo incompleto</p>
</div>
<div class="col-4">
<label>Código de seg.</label>
<input type="number" id="codigoInput" class="form-control" style="font-size: medium;" >
<p id="mensaje4" class="mensajeError">campo incompleto</p>
</div>
</div>
<div class="row">
<div class="col-8 mt-2">
<label >Vencimiento de (MM/AA)</label>
<input type="text" class="form-control" id="vencimientoInput" style="font-size: medium;" >
<p id="mensaje5" class="mensajeError">campo incompleto</p>
</div>
</div>
<input type="radio" id="tarjeta" name="pago" >
<label for="" class="mt-5">Tarjeta de credito</label><br>
<hr>
<div class="row">
<div class="col-8">
<label for="">N° de cuenta</label>
<input type="text" id="cuentaInput" class="form-control " style="font-size: medium;" >
<p id="mensaje6" class="mensajeError">campo incompleto</p>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Guardar</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
</div>
</div>
</div>
</div>
</div>
<div class="contenedorBoton">
<button type="button" class="btn btn-primary mb-4" id="enviarDatos">Enviar</button>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/dropzone.js"></script>
<script src="js/init.js"></script>
<script src="js/cart.js"></script>
<script src= "js/agregarAlCarrito.js"></script>
</body>
</html>