-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcart.html
More file actions
177 lines (167 loc) · 6.6 KB
/
cart.html
File metadata and controls
177 lines (167 loc) · 6.6 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!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="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<title>eMercado - Todo lo que busques está aquí</title>
<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">
<link href='https://css.gg/trash.css' 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;
}
.bg-dark-ligth {
background-color: #C4C4C4 !important;
}
.remove {
color: red
}
@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 class="site-header sticky-top py-1 bg-dark">
<div id="navBar" class="container d-flex flex-column flex-md-row justify-content-between">
<a class="py-2 d-none d-md-inline-block" href="home.html">Inicio</a>
<a class="py-2 d-none d-md-inline-block" href="categories.html">Categorías</a>
<a class="py-2 d-none d-md-inline-block" href="products.html">Productos</a>
<a class="py-2 d-none d-md-inline-block" href="sell.html">Vender</a>
<!--<a class="py-2 d-none d-md-inline-block" href="cart.html">Mi carrito</a>
<a class="py-2 d-none d-md-inline-block" href="my-profile.html">Mi usuario es: <span id="name"></span></a>-->
</div>
</nav>
<div class="container p-5">
<div class="text-center p-4">
<h2>Carrito de compras</h2>
</div>
<!--product-->
<table class="table">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Nombre</th>
<th scope="col">Costo</th>
<th scope="col">Cantidad</th>
<th scope="col">Subtotal</th>
</tr>
</thead>
<tbody id="cart-products">
</tbody>
</table>
<hr>
<!--Metodos de envio, tipo y lugar de entrega...-->
<div class="row mb-5 mt-5" id="metodoEnvio">
<div class="col">
<h4 class="mb-3">Método de envío</h4><br>
<legend class="text-muted">Tipo de envío:</legend><br>
<div class="custom-control custom-radio">
<input type="radio" id="customRadio1" name="customRadio1" class="custom-control-input">
<label class="custom-control-label" for="customRadio1">Premium (2-5 dias) - Costo del 15% sobre el subtotal.
</label>
</div> <br>
<div class="custom-control custom-radio">
<input type="radio" id="customRadio2" name="customRadio2" class="custom-control-input">
<label class="custom-control-label" for="customRadio2">Express (5-8) - Costo del 7% sobre el subtotal.</label>
</div><br>
<div class="custom-control custom-radio">
<input type="radio" id="customRadio3" name="customRadio3" class="custom-control-input">
<label class="custom-control-label" for="customRadio3">Standard (12 a 15 dias) - Costo del 5% sobre el
subtotal.</label>
</div><br>
<form action="">
<div class="form-row">
<legend class="text-muted">Dirección: </legend>
<div class="form-group col-sm-6">
<label for="address">Calle</label>
<input type="text" class="form-control" id="addres" placeholder="Nombre de calle" required>
</div>
<div class="form-group col-sm-6">
<label for="numAdress">Numero</label>
<input type="text" class="form-control" id="numAdress" placeholder="Numero de puerta" required>
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-6">
<label for="corner">Esquina</label>
<input type="text" class="form-control" id="corner" placeholder="Intersección" required>
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-6">
<label for="pais">Pais</label>
<select name="pais" class="form-control" required>
<option value="" selected hidden>Seleccione su pais</option>
<option value="1">Argentina</option>
<option value="2">España</option>
<option value="3">Mexico</option>
<option value="4">Brasil</option>
</select>
</div>
<div class="form-group col-sm-6">
<label for="ciudad">Ciudad</label>
<select name="ciudad" class="form-control" required>
<option value="" selected hidden>Seleccione su Ciudad</option>
<option value="1">Buenos Aires</option>
<option value="2">Barcelona</option>
<option value="3">Mexico DF</option>
<option value="4">San Pablo</option>
</select>
</div>
</div>
</form><br>
</div>
</div>
<hr>
<!--Costos-->
<div class="row">
<div class="col">
<h4 class="mb-3">Costos</h4>
<ul class="list-group mb-3 ">
<li class="list-group-item justify-content-between d-flex bg-dark-ligth">
<h5>SubTotal </h5><span id="subtotal"></span>
</li>
<li class="list-group-item justify-content-between d-flex bg-dark-ligth">
<h5>Envío </h5><span id="envio"></span>
</li>
<li class="list-group-item justify-content-between d-flex bg-dark-ligth">
<h5>Total </h5><span id="total"></span>
</li>
</ul>
</div>
</div>
<div class="mt-5">
<button id="btnWayToPay" class="btn btn-primary btn-md">Forma de Pago</button>
<button type="button" id="btnBuy" class="btn btn-primary btn-md">Comprar</button>
<span id="validations"></span>
</div>
</div>
<div id="spinner-wrapper">
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<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>
</body>
</html>