-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcarrito.html
134 lines (122 loc) · 6.17 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pet Shop</title>
<link href="assets/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<div class="menu logo-nav">
<a href="index.html" class="logo">PETSHOP</a>
<label class="menu-icon"><span class="fas fa-bars icomin"></span></label>
<nav class="navigation">
<ul>
<li><a href="nosotros.html">Nosotros</a></li>
<li><a href="productos.html">Productos</a></li>
<li><a href="contacto.html">Contacto</a></li>
<li class="search-icon">
<input type="search" placeholder="Search">
<label class="icon">
<span class="fas fa-search"></span>
</label>
</li>
<li class="car"><a href="carrito.html" >
<svg class="bi bi-cart3" width="2em" height="2em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .49.598l-1 5a.5.5 0 0 1-.465.401l-9.397.472L4.415 11H13a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l.84 4.479 9.144-.459L13.89 4H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm7 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>
</svg></a>
</li>
</ul>
</nav>
</div>
</header>
<main>
<div class="container-carrito">
<h2>Realizar Compra</h2>
<form id="procesar-pago" action="#" method="POST">
<div class="contenido titulo">
<label for="cliente" class="">Cliente :</label>
<input type="text" class="form-control" id="cliente" name="cliente" placeholder="Ingrese su nombre" onkeypress="return sololetras(event)" onpaste="return false" required>
</div>
<div class="contenido titulo">
<label for="email" class="">Correo :</label>
<input type="email" class="form-control" id="correo" name="correo" placeholder="Ingrese su correo" required>
</div>
<div id="carrito" class="contenido">
<table class="tabla" id="lista-compra">
<thead>
<tr>
<th scope="col">Imagen</th>
<th scope="col">Nombre</th>
<th scope="col">Precio</th>
<th scope="col">Cantidad</th>
<th scope="col">Sub Total</th>
<th scope="col">Eliminar</th>
</tr>
</thead>
<tbody>
</tbody>
<tr>
<th colspan="4" scope="col" class="">SUB TOTAL :</th>
<th scope="col">
<p id="subtotal"></p>
</th>
</tr>
<tr>
<th colspan="4" scope="col" class="">IGV :</th>
<th scope="col">
<p id="igv"></p>
</th>
</tr>
<tr>
<th colspan="4" scope="col" class="">TOTAL :</th>
<th scope="col">
<input type="text" id="total" name="monto_total" readonly>
</th>
</tr>
</table>
</div>
<div class="" id="loaders">
<img id="cargando" src="assets/img/cargando.gif" width="220">
</div>
<div class="botones-envio">
<a href="productos.html" class="button" id="volver">Seguir comprando</a>
<input type="submit" class="button" id="procesar-compra" onclick="validarCorreo(form.correo.value)"value="Realizar compra">
</div>
</form>
</div>
</main>
<footer class="footer-section">
<div class="copyright-area">
<div class="container-footer">
<div class="row-footer">
<div class="col-xl-6 col-lg-6 text-center text-lg-left">
<div class="copyright-text">
<p>Copyright © 2020, todos los derechos reservados <a href="index.html">PETSHOP</a></p>
</div>
</div>
<div class="col-xl-6 col-lg-6 d-none d-lg-block text-right">
<div class="footer-menu">
<ul>
<li><a href="nosotros.html">Nosotros</a></li>
<li><a href="productos.html">Productos</a></li>
<li><a href="contacto.html">Contacto</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="https://cdn.jsdelivr.net/npm/emailjs-com@2/dist/email.min.js"></script>
<script src="assets/js/scripts.js"></script>
<script src="assets/js/carrito.js"></script>
<script src="assets/js/pedido.js"></script>
<script src="assets/js/compra.js"></script>
<script src="assets/js/config.js"></script> <!-- Incluye el archivo de configuración -->
</body>
</html>