Categorías

document.addEventListener("DOMContentLoaded", function() { // Mueve #categorias-prods dentro de #columna-prods var categoriasProds = document.getElementById("categorias-prods"); var columnaProds = document.getElementById("columna-prods"); if (categoriasProds && columnaProds) { columnaProds.insertBefore(categoriasProds, columnaProds.firstChild); } // Hace clic automáticamente en el primer elemento con la clase .bapf_head.bapf_colaps_togl var firstToggle = document.querySelector(".bapf_head.bapf_colaps_togl"); if (firstToggle) { firstToggle.click(); } }); document.addEventListener('DOMContentLoaded', () => { // Selecciona todos los
  • con la clase 'jet-woo-builder-product' const productItems = document.querySelectorAll('li.jet-woo-builder-product'); productItems.forEach(item => { // Crea el nuevo div con la clase 'wishlistheart' const wishlistDiv = document.createElement('div'); wishlistDiv.classList.add('wishlistheart'); // Inserta el div como el primer hijo del
  • item.insertAdjacentElement('afterbegin', wishlistDiv); }); setTimeout(() => { // Selecciona todos los
  • con la clase 'jet-woo-builder-product' const productItems = document.querySelectorAll('li.jet-woo-builder-product'); productItems.forEach(item => { // Verifica si el
  • contiene un
    con las clases específicas const wishlistDiv = item.querySelector('.yith-wcwl-add-to-wishlist.exists'); const wishlistHeart = item.querySelector('.wishlistheart'); if (wishlistDiv && wishlistHeart) { // Si existe, agrega la clase 'existswish' al div .wishlistheart wishlistHeart.classList.add('existswish'); } }); }, 4000); // Retraso de 5 segundos (5000 ms) }); document.addEventListener('DOMContentLoaded', () => { // Agrega un evento de clic a todos los elementos con la clase .wishlistheart document.querySelectorAll('.wishlistheart').forEach(wishlistHeart => { wishlistHeart.addEventListener('click', () => { // Encuentra el
  • padre con la clase específica const parentLi = wishlistHeart.closest('li.jet-woo-builder-product'); if (parentLi) { // Busca el dentro de .yith-wcwl-add-to-wishlist en el mismo
  • const wishlistLink = parentLi.querySelector('.yith-wcwl-add-to-wishlist a'); if (wishlistLink) { // Simula un clic en el enlace wishlistLink.click(); } } }); }); }); // Selecciona el elemento
  • padre del input con ID 'bapf_1_11257' const liToHide = document.querySelector('li input#bapf_1_11257')?.parentElement; // Verifica si el elemento existe antes de ocultarlo if (liToHide) { liToHide.style.display = 'none'; } document.addEventListener('DOMContentLoaded', () => { const container = document.querySelector('#cats-mobile .jet-woo-categories'); const items = Array.from(container.querySelectorAll('#cats-mobile .jet-woo-categories__item')); const itemsPerPage = 6; // Mostrar 6 categorías por página (2 filas de 3 columnas) let currentPage = 0; // Crear controles para navegar const controls = document.createElement('div'); controls.className = 'carousel-controls'; controls.innerHTML = ` `; container.parentNode.insertBefore(controls, container.nextSibling); // Función para mostrar la página actual function showPage(page) { const start = page * itemsPerPage; const end = start + itemsPerPage; items.forEach((item, index) => { item.style.display = index >= start && index { if (currentPage > 0) { currentPage--; showPage(currentPage); } }); document.getElementById('next-btn').addEventListener('click', () => { if (currentPage { touchStartX = e.changedTouches[0].screenX; }); container.addEventListener('touchend', (e) => { touchEndX = e.changedTouches[0].screenX; if (touchEndX < touchStartX && currentPage touchStartX && currentPage > 0) { currentPage--; } showPage(currentPage); }); // Mostrar la primera página al cargar showPage(currentPage); }); .product_cat-canastas { display: none!important; } .product_cat-despensas { display: none!important; } .woocommerce .jet-woo-builder-layout-562.products.jet-woo-builder-products--columns { --columns: 5!important; margin-left: calc(-10px/2); margin-right: calc(-10px/2); } div#categorias-prods { padding: 0 10%; } .jet-cw.jet-compare-button { display: none; } .bapf_body .svg-inline--fa.fa-w-14 { width: initial; color: #d1ab68; transform: scale(.8); float: right; } .bapf_body .fa-plus:before { content: "\f078"!important; } .bapf_body .fa-minus:before { content: "\f077"!important; } #categorias-prods, #cats-mobile, #titulotienda, .banner-oferta, .banner-oferta-mobile, #ofertas, .titulooferta{display:none;} .search-results #categorias-prods, .search-results #cats-mobile, .search-results #titulotienda, .search-results .banner-oferta, .search-results #ofertas, .search-results .titulooferta {display:none!important;} .woocommerce-shop #categorias-prods, .woocommerce-shop #cats-mobile, .woocommerce-shop #titulotienda, .woocommerce-shop .banner-oferta, .woocommerce-shop #ofertas, .woocommerce-shop .titulooferta {display:inline-block;} body.custom-background { background-color: #fff; } div#categorias-prods2 { display: inline-block; width: 100%; /* float: left; */ flex: none; } #columna-prods{ position: relative; min-height: 1px; display: inline-block; } div#titulotienda { padding-left: 0%; } .berocket_single_filter_widget h3 { font-size: 17.5px; color: #4a4a4a; font-weight: 500; } .bapf_body { font-size: 14px; } .bapf_sfilter ul li { margin-bottom: 5px!important; } .bapf_ocolaps h3 svg { color: transparent; background: url(https://anyhow.mx/wp-content/uploads/2024/12/rightarrow.svg); background-size: 60%; background-repeat: no-repeat; } .bapf_ccolaps h3 svg { color: transparent; background: url(https://anyhow.mx/wp-content/uploads/2024/12/Vector.svg); background-size: 100%; background-repeat: no-repeat; } svg.svg-inline--fa.fa-plus.fa-w-14.bapf_ochild { color: transparent; background: url(https://anyhow.mx/wp-content/uploads/2024/12/rightarrow.svg); background-size: 10px; background-repeat: no-repeat; position: absolute; right: -12.5px; } svg.svg-inline--fa.fa-minus.fa-w-14.bapf_cchild{ color: transparent; background: url(https://anyhow.mx/wp-content/uploads/2024/12/Vector.svg); background-size: 75%; background-repeat: no-repeat; position: absolute; right: -12.5px; } .bapf_ckbox_sqchck input[type=checkbox] { -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none; display: inline-block; vertical-align: middle; border: 1.25px solid #a1a1a1; width: 15px; height: 15px; outline: 0; padding: 4px; margin-right: 5px; position: relative; } .elementor-element.elementor-element-71a66a9.elementor-widget.elementor-widget-shortcode { border-bottom: 1px solid #949494; } .elementor-element.elementor-element-120ae8d.elementor-widget.elementor-widget-shortcode { border-bottom: 1px solid #949494; } li.elementor-icon-list-item * { fill: inherit; } .irs--square .irs-from, .irs--square .irs-single, .irs--square .irs-to { font-size: 12px; line-height: 1; text-shadow: none; padding: 3px 5px; background-color: #fff; color: #d1ab68; border-radius: 5px; font-weight: 500; } .irs--square .irs-bar { top: 31px; height: 2px; background-color: #d1ab68; box-shadow: none; filter: none; } .irs--square .irs-handle { top: 25px; width: 16px; height: 16px; border: 3px solid #d1ab68; background-color: #fff; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); border-radius: 50%; } .elementor-widget-jet-woo-builder-archive-product-thumbnail { min-width: 100%; min-height: auto; } .elementor-widget-jet-woo-builder-archive-sale-badge { position: fixed; top: 0; right: 0; display:none; } .wishlistheart { background: url(https://anyhow.mx/wp-content/uploads/2024/12/heart.svg); position: absolute; z-index: 2; top: 2.5px; left: 15px; width: 20px; height: 20px; background-size: 100%; background-repeat: no-repeat; cursor: pointer; } .wishlistheart.existswish { background-image: url(https://anyhow.mx/wp-content/uploads/2024/12/heart-full.svg); } .yith-wcwl-add-to-wishlist { opacity: 0; height: 0; } .elementor-562 .elementor-element.elementor-element-ad19548 .jet-woo-builder-archive-cats a { font-size: 12px!important; font-weight: 400!important; line-height: 1!important; letter-spacing: 0!important; color: #9E9E9E !important; } .jet-woo-builder-archive-cats ul>li { list-style: none; display: inherit!important; font-size: 12px!important; } .elementor-562 .elementor-element.elementor-element-39b3fa7 .jet-woo-builder-archive-product-title, .elementor-562 .elementor-element.elementor-element-39b3fa7 .jet-woo-builder-archive-product-title a { font-size: 13.5px!important; line-height: 1.3!important; letter-spacing: 0.15px!important; } .elementor-562 .elementor-element.elementor-element-2de9152 .jet-woo-builder-archive-product-excerpt { font-size: 12px!important; font-weight: 400!important; color: #8a9099!important; min-height: 50px!important; } .elementor-562 .elementor-element.elementor-element-07c9d6d .jet-woo-product-price { font-size: 20px!important; font-weight: 700!important line-height: 1!important letter-spacing: 0px!important color: #243546!important } p.stock.out-of-stock { color: rgb(170, 0, 30); text-align: center; font-size: 15px; border: 0; padding: 10px 0; margin-top: 10px; border-radius: 10px; } span.woocommerce-Price-amount.amount bdi { font-weight: 600!important; color: #4A4A4A!important; font-size: 20px!important; } .elementor-562 .elementor-element.elementor-element-07c9d6d .jet-woo-product-price del { display: inline-block; text-decoration: none!important; /* font-size: 50%; */ } .elementor-562 .elementor-element.elementor-element-07c9d6d .jet-woo-product-price del bdi { color: #727272 !important; font-weight: 400!important; font-size: 14px!important; text-decoration: line-through; } .jet-woo-products .jet-woo-product-categories { min-height: 35px; } .jet-woo-product-categories li { display: inherit!important; width: auto; height: auto!important; font-size: 12px; text-align: left; } .jet-woo-product-categories a { color: #aeaeae; font-size: 11px; text-align: left; line-height: 1.3; } .jet-woo-products .jet-woo-product-categories { margin-top: 5px; padding: 0 15px; } .jet-woo-products .jet-woo-product-title { font-size: 13px!important; padding: 0 15px!important; line-height: 1.3!important; font-weight: 700 !important; margin: 5px 0 0; min-height:50px!important; } .price { margin: 5px 0; } .jet-woo-products .jet-woo-product-price .price { display: inline-block!important; width: 100%!important; text-align: left!important; padding: 0 15px!important; } .elementor-544 .elementor-element.elementor-element-6291e60 .jet-woo-products .jet-woo-product-price .price del { font-weight: 400; text-decoration: none!important; } .elementor-544 .elementor-element.elementor-element-6291e60 .jet-woo-products .jet-woo-product-price .price del bdi { font-weight: 400!important; text-decoration: line-through; color: #8a8a8a!important; font-size: 13px!important; } .woocommerce .jet-woo-builder-layout-562.products.jet-woo-builder-products--columns .product:not(.product-category) { margin-bottom: 10px !important; padding: 0!important; } p.product.woocommerce.add_to_cart_inline { margin: 0!important; padding: 0 15px 20px!important; } .jet-woo-carousel .jet-arrow { top: calc(50% - 40px); background: #fff; border: 1px solid #ffffff; border-radius: 50%; padding: 5px; box-shadow: 1px 2px 14px #b7b7b7; } @media(max-width:900px){ ul.jet-woo-builder-products--columns.products.jet-woo-builder-layout-562 { display: inline-block; flex:none; } .woocommerce .jet-woo-builder-layout-562.products.jet-woo-builder-products--columns .product:not(.product-category) { padding-left: calc(10px/2); padding-right: calc(10px/2); margin-bottom: 20px !important; display: inline-block; width: 33%!important; flex: none; max-width: 50%; } .bapf_sfilter ul li { margin-bottom: 10px!important; } } @media(max-width:600px){ section#categorias-prods { display: none!important; } .elementor-element.elementor-element-42bcf55.elementor-widget.elementor-widget-heading { margin: 0; margin-top: 10px; } .woocommerce .jet-woo-builder-layout-562.products.jet-woo-builder-products--columns .product:not(.product-category) { padding-left: calc(10px/2); padding-right: calc(10px/2); margin-bottom: 20px !important; display: inline-block; width: 49%!important; flex: none; max-width: 50%; } .elementor-544 .elementor-element.elementor-element-56fd94b .jet-woo-categories .jet-woo-category-title, .elementor-544 .elementor-element.elementor-element-56fd94b .jet-woo-categories .jet-woo-category-title a { font-size: 11px!important; font-weight: 500; line-height: 12px!important; letter-spacing: 0!important; padding: 0 10px; text-align: center; display: inline-block; } .elementor-544 .elementor-element.elementor-element-3c15a26 > .elementor-element-populated { margin-top: -30px!important; } .elementor-544 .elementor-element.elementor-element-23ac161 .elementor-jet-woo-builder-products-ordering .woocommerce-ordering { max-width: 100%!important; } form.woocommerce-ordering { max-width: 100%!important; width: auto!important; } .elementor-544 .elementor-element.elementor-element-23ac161 .elementor-jet-woo-builder-products-ordering { text-align: right!important; } .banner-oferta{display:none;} .banner-oferta-mobile{display:inline-block; margin-bottom:60px;} } div#cats-mobile { padding: 0 5%; } #cats-mobile .jet-woo-categories { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; /* 3 columnas */ gap: 0px; overflow: hidden; /* Oculta elementos fuera de la vista */ position: relative; } #cats-mobile .jet-woo-categories__item { display: none; width: 100%!important; max-width: 100%!important; margin-bottom: 0!important; padding-bottom: 0!important; } #cats-mobile .carousel-controls { display: flex; justify-content: space-between; margin-top: 10px; position: absolute; top: calc(50% - 40px); width:100%; left: 0; } #cats-mobile .carousel-controls button { padding: 10px 20px; background-color: #0073aa; color: white; border: none; cursor: pointer; border-radius: 5px; font-size: 16px; background-image: url(https://anyhow.mx/wp-content/uploads/2024/12/rightarrow.svg); background-repeat: no-repeat; background-size: 15px; color: transparent; background-color: #fff; /* border: 1px solid #222; */ width: 30px; height: 41px; background-position: center; border-radius: 50%; box-shadow: 0px 2px 20px #b4b4b4; } button#prev-btn { transform: rotate(180deg); background-position: 60%!important; background-size: 15px!important; } #cats-mobile .carousel-controls button:hover { background-color: #0e1930; }
  • Productos en oferta

    Sort by:

    Explora todos los productos