Skip to content

Commit 4630a96

Browse files
committed
se corrige notificacion de icono en carrito de compras, otras correciones menores
1 parent 68adec3 commit 4630a96

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

css/styles.css

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/carrito.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const borrarTodoCarrito = () => {
5858
showCancelButton: true,
5959
confirmButtonColor: "#113946",
6060
cancelButtonColor: "#ff4500",
61-
confirmButtonText: "Sí, eliminar mi carrito de compras",
61+
confirmButtonText: "Sí, eliminar",
6262
cancelButtonText: "No, deseo seguir comprando"
6363
};
6464

@@ -82,14 +82,13 @@ const borrarTodoCarrito = () => {
8282
});
8383
}
8484

85-
8685
const desplegarBotonCarrito = () => {
8786
document.getElementById("totalCarrito").innerHTML = QTotalProductos();
8887
}
8988

9089
const QTotalProductos = () => {
9190
const carrito = GetCarritoLs();
92-
return carrito.length;
91+
return carrito.length === 0 ? null : carrito.length;
9392
}
9493

9594

pages/sesionregis.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2 class="TituloRegistro">Registrate aqui y recibe un codigo de descuento adici
9393
</div>
9494
<div class="campoFormulario">
9595
<label for="direccionCliente"></label>
96-
<input type="text" id="direccionCliente" name="direccionCliente"/>
96+
<input type="text" id="direccionCliente" name="direccionCliente" placeholder="Contraseña"/>
9797
</div>
9898
<div class="campoFormulario">
9999
<label for="regPassword"></label>

scss/_carrito.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11

22
@media screen and (min-width: 320px) {
3-
.container-fluid {
4-
margin-left: 25px;
5-
}
63

74
#contenidoGralCarrito{
85
.textoCarritoVacio {

0 commit comments

Comments
 (0)