We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1475a7 commit 8f4d784Copy full SHA for 8f4d784
js/carrito.js
@@ -93,8 +93,7 @@ const cantTotalProductos = () => {
93
function desplegarGraficosCarrito() {
94
const carrito = obtenerCarritoLS();
95
let contenido = "";
96
-
97
- if (cantTotalProductos() > 0) {
+ if (carrito && cantTotalProductos() > 0) {
98
contenido = `
99
<div class="tituloArticuloVta col-12">
100
<h1 class="articulo">Tu carrito</h1>
0 commit comments