Bancos - Sillas - Muebles (2023)

The store will not work correctly in the case when cookies are disabled.

`; [...widgetParams.container.querySelectorAll('button')].forEach(element => { element.addEventListener('click', event => { const item = Object.keys(event.currentTarget.dataset).reduce( (acc, key) => ({ ...acc, [key]: event.currentTarget.dataset[key], }), {} ); refine(item); }); }); }; const checkElement = async selector => { while (document.querySelector(selector) === null) { await new Promise( resolve => requestAnimationFrame(resolve)) } return selector; }; const renderSortBy = (renderOptions, isFirstRender) => { const { options, currentRefinement, hasNoResults, refine, widgetParams, } = renderOptions; if (isFirstRender) { const parent = document.createElement('div'); const filter = document.getElementById('FilterSorting'); let currentOption; currentRefinementRank = currentRefinement + "_ranking_asc"; if (currentRefinement) { currentOption = options.find(option => option.value == currentRefinementRank); if (typeof currentOption != "undefined") { filter.innerHTML = currentOption.label; } } parent.className = "sort-by"; parent.addEventListener('change', event => { refine(event.target.value); currentRefinementRank = event.target.value; filter.click(); filter.innerHTML = event.target.dataset.label; }); widgetParams.container.appendChild(parent); } const parent = widgetParams.container.querySelector('.sort-by'); parent.disabled = hasNoResults; parent.innerHTML = ` ${options.map(option => ` ` ).join('')} `; checkElement('input[value="'+currentRefinementRank+'"]').then((selector) => { jQuery(selector).trigger('click'); }); }; const renderClearRefinements = (renderOptions, isFirstRender) => { const { hasRefinements, refine, widgetParams } = renderOptions; if (isFirstRender) { const button = document.querySelector(widgetParams.container); button.textContent = 'Quitar Filtros'; button.addEventListener('click', () => { refine(); }); } document.querySelector(widgetParams.parentContainer).style.display = (!hasRefinements) ? "none" : "flex"; }; const renderToggleRefinement = (renderOptions, isFirstRender) => { const {value, refine, widgetParams} = renderOptions; if (isFirstRender) { const label = document.createElement('label'); label.className = "switch"; const span = document.createElement('span'); span.className = `label ${widgetParams.classSpan}`; span.innerHTML = widgetParams.innerSpan const input = document.createElement('input'); input.type = 'checkbox'; const slider = document.createElement('span'); slider.className = 'slider round'; input.addEventListener('change', event => { refine({isRefined: !event.target.checked}); }); label.appendChild(input); label.appendChild(slider); widgetParams.container.appendChild(label); widgetParams.container.insertBefore(span, widgetParams.container.firstChild); } widgetParams.container.querySelector('input').checked = value.isRefined; }; const renderSubcategories = ({ items, refine }) => { let containers = document.querySelectorAll('.category-carrusel-subcategory'); if (!isFirstPaint) { for (let i = 0; i < containers.length; i++) { if (!items.length) { break; } if(categoryPathsFilter == 'Novedades'){ categoryPathsFilter = 'Muebles'; } const refinement = categoryPathsFilter + ' /// ' + containers[i].dataset.value; const item = items.find(({ value }) => value === refinement); const content = document.createElement('div'); content.className = "checkbox-content"; if (typeof item !== "undefined") { content.innerHTML = ` `; }else{ //Remove subcategory with no childs containers[i].parentElement.remove() } containers[i].appendChild(content); } isFirstPaint = (items.length); document.querySelectorAll('.category-carrusel-subcategory-checkbox').forEach(element => { element.addEventListener('change', event => { event.preventDefault(); refine(event.currentTarget.dataset.value); }); }); } for (let i = 0; i < containers.length; i++) { if (!items.length) { break; } const refinement = categoryPathsFilter + ' /// ' + containers[i].dataset.value; const item = items.find(item => item.value == refinement); const liCard = containers[i].parentNode; const checkboxSelector = containers[i].querySelector('.ais-RefinementList-checkbox'); if (checkboxSelector) { checkboxSelector.checked = typeof item !== "undefined" && item.isRefined } liCard.className = (typeof item !== "undefined" && item.isRefined) ? "is_checked" : ""; } }; document.querySelectorAll('.category-carrusel-subcategory').forEach(element => { element.addEventListener('click', () => { let checkbox = element.querySelector('.category-carrusel-subcategory-checkbox'); if (checkbox) { checkbox.click(); } }); }); const mobileWidthViewport = 1051; let $vWidth = $(window).width(); var nextButtonFlag; const renderInfiniteHits = (renderOptions, isFirstRender) => { const { hits, widgetParams, isFirstPage, showMore, isLastPage, showPrevious, results } = renderOptions; let categoryConfig = JSON.parse("{\"delivery_ranges\":[{\"min\":\"3\",\"max\":\"5\",\"extra_class\":\"express-label\",\"label\":\"*Asegurada si compras ahora\"},{\"min\":\"6\",\"max\":\"10\",\"extra_class\":\"\",\"label\":\"\"},{\"min\":\"11\",\"max\":\"20\",\"extra_class\":\"\",\"label\":\"\"},{\"min\":\"21\",\"max\":\"30\",\"extra_class\":\"\",\"label\":\"\"},{\"min\":\"31\",\"max\":\"40\",\"extra_class\":\"\",\"label\":\"\"},{\"min\":\"41\",\"max\":\"60\",\"extra_class\":\"\",\"label\":\"\"}],\"delivery_express_label\":\"3 a 5 d\\u00edas h\\u00e1biles a CDMX y AM\",\"extend_zone_national_text\":\"Env\\u00edo a todo el pa\\u00eds\",\"extend_zone_restricted_text\":\"Env\\u00edo a 18 ciudades\",\"campaigns\":{\"activeCampaign\":true,\"name\":\"SALE\",\"bubbleColor\":\"#ba5138\",\"textColor\":\"#FFFFFF\",\"image\":null,\"extraText\":\"\"},\"msi_installments\":[{\"3\":{\"min_amount\":\"2500\",\"msi\":\"3\",\"notice_amount\":\"2000\"},\"6\":{\"min_amount\":\"2500\",\"msi\":\"6\",\"notice_amount\":\"2000\"},\"9\":{\"min_amount\":\"2500\",\"msi\":\"9\",\"notice_amount\":\"2000\"},\"12\":{\"min_amount\":\"2500\",\"msi\":\"12\",\"notice_amount\":\"2000\"}}]}"); let pageNumber = 0; let numPageReal = 0; let hitsPerPage = 0; let countHits = hits.length; let queryId = results?.queryID; let firtCount = false; let pageStarUrl = 1; let pageInitialUrl = getQueryPageParams(decodeURI(window.location.search)); let totalItemsInCategory = ''; if (typeof pageInitialUrl.page != "undefined") { pageStarUrl = pageInitialUrl.page; } if (!sessionStorage.getItem('numberPageInitial')) { sessionStorage.setItem('numberPageInitial', pageStarUrl); } if (typeof renderOptions.results !== "undefined") { hitsPerPage = renderOptions.results.hitsPerPage; pageNumber = renderOptions.results.page; totalItemsInCategory = renderOptions.results.nbHits; } numPageReal = (pageNumber + 1); //la paginacion empieza en 0 en algolia if (!sessionStorage.getItem('numberPageFinal')) { sessionStorage.setItem('numberPageFinal', numPageReal); } else { if (numPageReal == pageStarUrl) { sessionStorage.setItem('numberPageInitial', pageStarUrl); sessionStorage.setItem('numberPageFinal', pageStarUrl); } if (isFirstPage && numPageReal == 1) { sessionStorage.setItem('numberPageInitial', 1); sessionStorage.setItem('numberPageFinal', 1); } } let restItemsInPage = totalItemsInCategory - (hitsPerPage * numPageReal); if (isFirstRender) { let gaiaGrid = document.createElement('div'); gaiaGrid.className = 'grid_gaia'; let prevButton = document.createElement('button'); prevButton.className = 'prev-button'; prevButton.textContent = 'Ver Pagina Anterior'; prevButton.addEventListener('click', () => { showPrevious(); setUrlStatePrev(); }); let nextButton = document.createElement('button'); nextButton.className = 'next-button'; nextButton.addEventListener('click', () => { showMore(); setUrlStateNext(); $('.filtros-container').css('visibility', 'visible'); nextButtonFlag = true; }); widgetParams.container.appendChild(prevButton); widgetParams.container.appendChild(gaiaGrid); widgetParams.container.appendChild(nextButton); return; } jQuery(".next-button").text('CARGAR ' + restItemsInPage + ' MÁS PRODUCTOS'); if (countHits) { hits.map(function (hit, index) { let msrp = hit.msrp; let price = hit.price.MXN.default; let percentageAux = 0; let pricesAux = []; let formatter = new Intl.NumberFormat('es-MX', { style: "currency", currency: "MXN", inimumFractionDigits: 2, maximumFractionDigits: 2 }); let specialClass = ""; let oldPrice = "0"; let msrpshow = "none"; if (typeof msrp !== "undefined") { percentageAux = Math.floor(((msrp - price) / msrp) * 100); if (msrp > price) { specialClass = "special"; oldPrice = formatter.format(parseFloat(msrp)); msrpshow = "block"; } } pricesAux = { "finalPrice": formatter.format(parseFloat(price)), "oldPrice": oldPrice, "msrpshow": msrpshow, "specialClass": specialClass }; if (categoryConfig.campaigns.activeCampaign && percentageAux > 0) { hit.activeCampaign = 'inline-block'; hit.campaign = categoryConfig.campaigns; hit.percentage = percentageAux + "%"; } else { hit.activeCampaign = 'none'; hit.campaign = { "textColor": "", "bubbleColor": "" }; hit.percentage = percentageAux; } hit.priceGaia = pricesAux; hit.deliveryExpressLabel = categoryConfig.delivery_express_label; hit.deliveryRanges = categoryConfig.delivery_ranges; hit.extendZoneNationalText = categoryConfig.extend_zone_national_text; hit.extendZoneRestrictedText = categoryConfig.extend_zone_restricted_text; hit.msi = getMsiMessage(categoryConfig.msi_installments,price); hit.isReview = 'hidden'; if (hit.yotpo_score !== undefined || hit.yotpo_count_reviews !== undefined) { if (hit.yotpo_score !== '' || hit.yotpo_count_reviews !== '') { if (hit.yotpo_score >= 4 && hit.yotpo_count_reviews >= 4) { let starPercentage = (hit.yotpo_score / 5) * 100; let starPercentageRounded = `${(Math.round(starPercentage / 10) * 10)}%`; hit.score = starPercentageRounded; hit.isReview = 'visible'; } } } }); setPageDataLayer(hits); } widgetParams.container.querySelector('.prev-button').style.display = (!isFirstPage) ? "block" : "none"; widgetParams.container.querySelector('.next-button').style.display = (!isLastPage) ? "block" : "none"; let grid = `

(Video) Banco de palets

`; if(hits.length){ grid += `

${hits.map((item, index) => `

${item.image_webp ? `` : `` } ${item.look_image_webp ? `` : `` }

Pieza GAIA LOCAL Mobiliario y decoración con ADN muy mexicano, al estilo GAIA que ya conoces.

${item.name}

${item.yotpo_count_reviews}

De: ${item.pro_codigo}

Descuento ${item.priceGaia.finalPrice} ${item.priceGaia.oldPrice} (- ${item.percentage})

${item.msi}

${(() => { if ( window.screenWindowResolution() >= 768) { return `

(Video) 💞 MUEBLES DE CONCRETO 💞 DECO 💞 HORMIGÓN 💞 CEMENTO 💞 Bancos Mesas Mesadas Ratonas Sillas Sillones

Bancos - Sillas - Muebles (6)

` } else { return `

Bancos - Sillas - Muebles (7)

` } })()}

Agotado

` ).join('')}

`; }else{ grid += `

Intenta con otros filtros

No hay productos que coincidan con tu selección 😔.

`; } grid += `

`; widgetParams.container.querySelector('.grid_gaia').innerHTML = grid; // acciones con los itens despues del append let pageInHits = (countHits / hitsPerPage); //numero de paginas obtenidas desde los hits let pageWhioutFirstProduct = (hitsPerPage - 1); //numero del primer producto de la pagina let numbersFirstItemInPage = []; let count = 1; for (let i = 0; i < pageInHits; i++) { //dependiendo el numero de paginas forma array con iniciales de pagina let itemInPage = (hitsPerPage * count); let newItemInPage = (itemInPage - hitsPerPage); if (newItemInPage == 0) { newItemInPage = 1; } else { newItemInPage = newItemInPage + 1; } numbersFirstItemInPage.push(newItemInPage); count++; } if (numbersFirstItemInPage.length) { //si existe array con iniciales itera para formar titulos de pagina let countPageTitle = sessionStorage.getItem('numberPageInitial'); //num pagina inicial desde url para empezar conteo de paginas let countLastPageVis = sessionStorage.getItem('numberPageFinal'); $(".item-url").each(function (index, element) { //cuenta cada producto let resetIndexOne = index + 1; //conteo index inicia en 0 $(this).addClass("item-n-" + resetIndexOne); if (numbersFirstItemInPage.includes(resetIndexOne)) { if (!$(this).hasClass("first_item_gaia_page_" + resetIndexOne)) { $(this).addClass("first_item_gaia_page_" + resetIndexOne); $(this).before('

'); countPageTitle++; } } $(this).click(function () { sessionStorage.setItem('numberPageInitial', ''); }); }); } $('.filtros-container').css('visibility','visible'); if ($vWidth >= mobileWidthViewport && nextButtonFlag !== true) { document.querySelector(".category-carrousel-wrapper").scrollIntoView(); } }; const setPageDataLayer = (products) => { let dlProducts = []; let categoryPath = ""; let productsItems = []; const brand = 'Gaia'; jQuery(".breadcrumbs .items .item").each(function (index, val) { if (index > 0) categoryPath += jQuery(val).text().trim() + " > "; }); $.each(products, function (index, product) { let salesPrice; let price; if (product.msrp === product.price.MXN.default) { price = product.price.MXN.default salesPrice = ""; } else { price = product.msrp salesPrice = product.price.MXN.default } const dlproduct = { name: product.name, id: product.sku, sku: product.sku, url: product.url, price: price, brand: brand, variant: product.color, category: product.categories_without_path.map(cat => cat).join('/'), dimension6: '', dimension7: product.image_url, dimension8: brand, metric2: salesPrice, metric3: +(product.is_available) }; const productItem = { id: product.sku, name: product.name, taxonomy: [], currency: "MXN", unit_price: price, unit_sale_price: salesPrice, url: product.url, stock: +(product.is_available), color: product.color, size: '', product_image_url: product.image_url, custom: { merchandiser: '' } }; dlProducts.push(dlproduct); productsItems.push(productItem); }); const impressions = {impressions: dlProducts}; const listing = {items: productsItems}; const obj = { event: "listingView", ecommerce: impressions, insider: { listing } } dataLayer.push(obj); }; function getMsiMessage(msi,price) { let max_msi = 0; let current_min = 0; for (const key in msi[0]) { if(price >= msi[0][key].min_amount && msi[0][key].min_amount >= current_min){ max_msi = msi[0][key].msi; current_min = msi[0][key].min_amount; } } if (max_msi) { return "

Hasta "+max_msi+" pagos de " + addCentsPrice(price/max_msi) + "*" + "Contamos con distintas formas de pago a meses con tarjeta y sin tarjeta de crédito/débito Conoce más.

"; } else { return "

"; } } const getQueryPageParams = (query) => { let params = {}; new URLSearchParams(query).forEach((value, key) => { params[decodeURIComponent(key)] = decodeURIComponent(value); }); return params; }; const addCentsPrice = (number) => { let formatter = new Intl.NumberFormat('es-MX', {style: "currency", currency: "MXN", inimumFractionDigits: 2, maximumFractionDigits: 2 }); return formatter.format(parseFloat(number)); } const setUrlStateNext = () => { let lastNPage = jQuery(".pagination_number").last().attr("data-npage"); let strinigUrl = decodeURI(window.location.search); let urlPagePage = getQueryPageParams(decodeURI(window.location.search)); let page = urlPagePage.page; sessionStorage.setItem('numberPageFinal', (parseInt(lastNPage) + 1)); }; const setUrlStatePrev = () => { let strinigUrl = decodeURI(window.location.search); let urlPagePage = getQueryPageParams(decodeURI(window.location.search)); let page = urlPagePage.page; let initialPageStorage = (sessionStorage.getItem('numberPageInitial') - 1); if (page <= 0) { initialPageStorage = 1; } sessionStorage.setItem('numberPageInitial', initialPageStorage); }; //add connectors for widgets const gaiaItems = instantSearch.connectors.connectInfiniteHits( renderInfiniteHits ); const gaiaToggleRefinement = instantSearch.connectors.connectToggleRefinement( renderToggleRefinement ); const gaiaClearRefinements = instantSearch.connectors.connectClearRefinements( renderClearRefinements ); const gaiaSortBy = instantSearch.connectors.connectSortBy(renderSortBy); const gaiaSubcategoriesList = instantSearch.connectors.connectRefinementList( renderSubcategories ); const gaiaCurrentRefinements = instantSearch.connectors.connectCurrentRefinements( renderCurrentRefinements ); //add widgets search.addWidgets([ gaiaItems({ container: document.querySelector('#hits'), showPrevious: true, templates: { empty: 'No results for {{ query }}', }, }), instantSearch.widgets.configure({ clickAnalytics: true, hitsPerPage: 24, filters: 'is_enabled:true AND categories.level' + level + ':"' + categoryPathsFilter + '" AND (visibility:"Catalog" OR visibility:"Catalog, Search")' }), instantSearch.widgets.pagination({ container: '#pagination', showFirst: true, showPrevious: true, showNext: true, showLast: true, padding: 5 }), instantSearch.widgets.rangeSlider({ container: '#slider-price', attribute: 'price.MXN.default', }), instantSearch.widgets.rangeSlider({ container: '#largeFilter', attribute: 'largo', }), instantSearch.widgets.rangeSlider({ container: '#heightFilter', attribute: 'alto', }), instantSearch.widgets.rangeSlider({ container: '#widthFilter', attribute: 'ancho', }), instantSearch.widgets.refinementList({ container: '#filtercolors', attribute: 'color', templates: { item(item) { const {value, label, count, isRefined} = item; let colorHex = props.colorsConfig.find(color => color.label == value), translateLabel = $t(label); return `

  • `; }, }, }), gaiaToggleRefinement({ container: document.querySelector('#isExpressDelivery'), attribute: 'is_express_delivery', classSpan: 'delivery', innerSpan: ' Listo para envío Piezas disponibles en nuestro almacén, listas para ser enviadas (3 a 5 días hábiles a CDMX y AM) ', }), gaiaToggleRefinement({ container: document.querySelector('#isAvailable'), attribute: 'is_available', classSpan: 'in-stock', innerSpan: 'Ocultar productos agotados', }), gaiaToggleRefinement({ container: document.querySelector('#hasDiscount'), attribute: 'has_discount', classSpan: 'sale', innerSpan: 'Piezas en SALE', }), gaiaClearRefinements({ container: '#removeFilters', parentContainer: '#activeFilters', }), gaiaCurrentRefinements({ container: document.querySelector('#ActiveFiltersList'), }), gaiaSortBy({ container: document.querySelector('#sortBy'), items: [ { label: 'Selección Gaia', value: props.config.index_prefix + 'default_products', radio: 'gaiaselect' }, { label: 'Nombre (A-Z)', value: props.config.index_prefix + 'default_products_name_asc', radio: 'nombre' }, { label: 'Precio ($ - $$$)', value: props.config.index_prefix + 'default_products_price_default_asc', radio: 'precio' }, { label: 'Lo más nuevo', value: props.config.index_prefix + 'default_products_created_at_desc', radio: 'relevancia' }, ], }), gaiaSubcategoriesList({ attribute: `categories.level${nextLevel}`, limit: 50, }) ]); search.start(); $(document).ready(function () { checkWidth(); }); $(window).on("resize", function () { checkWidth(); }); function checkWidth() { if ($vWidth >= mobileWidthViewport) { $("#isExpressDelivery").appendTo("#DeliveryT"); $("#isAvailable").appendTo("#AvailableT"); $("#hasDiscount").appendTo("#DiscountT"); $("#theFilters").appendTo("#theFiltersContainer"); $("#sortBy").appendTo("#filtersorting"); } else { $("#isExpressDelivery").appendTo("#mobileSwitchExpress"); $("#isAvailable").appendTo("#modalisAvailable"); $("#hasDiscount").appendTo("#modalhasDiscount"); $("#theFilters").appendTo("#modalFiltersDropDown"); $("#sortBy").appendTo("#modalSortingContent"); $('.category-carrousel-right').appendTo("#images-carrusel-categories") } } //Btn Filters Mobile actions $('#btnFilterModal').click(function () { $('#modalFilterMobile').addClass('in'); $("#activeFilters").appendTo("#modalActiveFilters"); $("#isExpressDelivery").appendTo("#modalDelivery"); $('body').addClass('noscroll'); }); $('#closeFiltersModal, .apply-filters-modal').click(function () { $('#modalFilterMobile').removeClass('in'); $("#isExpressDelivery").appendTo("#mobileSwitchExpress"); $("#activeFilters").appendTo("#containerActiveFilters"); $('body').removeClass('noscroll'); }); //Btn Sort By Mobile actions $('#btnSortbyModal').click(function () { $('#sortbyModal').addClass('in'); $('body').addClass('noscroll'); }); $('#closeSortByModal, .apply-sortBy-modal').click(function () { $('#sortbyModal').removeClass('in'); $('body').removeClass('noscroll'); }); var elementHight = 0; const onClickOutside = (e) => { let excludes = ['OptFilter', 'rheostat-handle', 'rheostat-progress', 'ais-RefinementList-checkbox', 'color-swatch-filter', 'ais-RefinementList-label', 'ais-RefinementList-labelText']; let wait = true; $.each(excludes, function(index, exclude){ if(e.target.className.includes(exclude)){ wait = false; } }); if (wait) { $(".OptFilter").addClass("collapsed"); $(".OptFilter").attr("aria-expanded", "false"); $(".multi-collapse").removeClass("in"); $(".multi-collapse").attr("aria-expanded", "false"); elementHight = 0; $('.list_container').css("margin-bottom", elementHight + 'px'); } }; var toggleFilters = function () { let idElement = this.getAttribute("id"); if (idElement != "FilterColor") { if (!$("#FilterColor").hasClass("collapsed")) { $("#FilterColor").addClass("collapsed"); $("#FilterColor").attr("aria-expanded", "false"); $("#filtercolors").removeClass("in"); $("#filtercolors").attr("aria-expanded", "false"); } } else { if (!$("#FilterColor").hasClass("collapsed")) { elementHight = 0; $('.list_container').css("margin-bottom", elementHight + 'px'); } else { nextButtonFlag = false; setTimeout( function() { elementHight = $("#FilterColor").siblings('.dropdownfilter').innerHeight(); $('.list_container').css("margin-bottom", elementHight + 'px'); }, 1000); } } if (idElement != "FilterPrice") { if (!$("#FilterPrice").hasClass("collapsed")) { $("#FilterPrice").addClass("collapsed"); $("#FilterPrice").attr("aria-expanded", "false"); $("#slider-price").removeClass("in"); $("#slider-price").attr("aria-expanded", "false"); } } else { if (!$("#FilterPrice").hasClass("collapsed")) { elementHight = 0; $('.list_container').css("margin-bottom", elementHight + 'px'); } else { nextButtonFlag = false; setTimeout( function() { elementHight = $("#FilterPrice").siblings('.dropdownfilter').innerHeight(); $('.list_container').css("margin-bottom", elementHight + 'px'); }, 1000); } } if (idElement != "FilterDimention") { if (!$("#FilterDimention").hasClass("collapsed")) { $("#FilterDimention").addClass("collapsed"); $("#FilterDimention").attr("aria-expanded", "false"); $("#filterdimentions").removeClass("in"); $("#filterdimentions").attr("aria-expanded", "false"); } } else { if (!$("#FilterDimention").hasClass("collapsed")) { elementHight = 0; $('.list_container').css("margin-bottom", elementHight + 'px'); } else { nextButtonFlag = false; setTimeout( function() { elementHight = $("#FilterDimention").siblings('.dropdownfilter').innerHeight(); $('.list_container').css("margin-bottom", elementHight + 'px'); }, 1000); } } if (idElement != "FilterSorting") { if (!$("#FilterSorting").hasClass("collapsed")) { $("#FilterSorting").addClass("collapsed"); $("#FilterSorting").attr("aria-expanded", "false"); $("#filtersorting").removeClass("in"); $("#filtersorting").attr("aria-expanded", "false"); } } else { if (!$("#FilterSorting").hasClass("collapsed")) { elementHight = 0; $('.list_container').css("margin-bottom", elementHight + 'px'); } else { nextButtonFlag = false; setTimeout( function() { elementHight = $("#FilterSorting").siblings('.dropdownfilter').innerHeight(); $('.list_container').css("margin-bottom", elementHight + 'px'); }, 1000); } } }; let filterElements = document.getElementsByClassName("OptFilter"); for (var i = 0; i < filterElements.length; i++) { filterElements[i].addEventListener("click", toggleFilters, false); } window.addEventListener("click", onClickOutside); var lastScrollTop = 0; if ($vWidth >= mobileWidthViewport) { var iterationItem = 0, bottomValue = 0; function iterationItemHeightChanges() { iterationItem = $('.iteration-item').height(); } setInterval(iterationItemHeightChanges, 100); let minimumPixelTop = 735; $(document).scroll(function() { let scrollTop = $(document).scrollTop(), fixelem = $("#FiltersMainNavigation > .container"), maximumPixelTop = $('#header-gaia').innerHeight() + $('.breadcrumbs').innerHeight() + $('.category-carrousel-wrapper').innerHeight(); if (scrollTop >= maximumPixelTop) { if (iterationItem >= minimumPixelTop) { fixelem.css({"position": "fixed", "top": "0px"}).addClass('fixed-filters-nav'); } else { fixelem.css({"position": "absolute", "top": "0", "margin": "0" }).removeClass('fixed-filters-nav'); } } else if (scrollTop <= 0) { fixelem.css({"position": "absolute", "top": "0", "margin": "0" }).removeClass('fixed-filters-nav'); } else { fixelem.css("position", "static").removeClass('fixed-filters-nav'); } }); $(window).scroll(() => { const footerToTop = $('footer').position().top; const scrollTop = $(document).scrollTop() + $(window).height(); const difference = scrollTop - footerToTop; bottomValue = scrollTop > footerToTop ? difference : 0; if (scrollTop >= footerToTop) { $('.filtros-container').css('visibility', 'hidden'); $('#FiltersMainNavigation').css('display', 'none'); } if (scrollTop <= footerToTop) { $('.filtros-container').css('visibility', 'visible'); $('#FiltersMainNavigation').css('display', 'block'); } if (iterationItem >= minimumPixelTop) { $('#FiltersMainNavigation > .container').css('margin-top', 0 - bottomValue); } var scroll = $(this).scrollTop(); if (scroll > lastScrollTop) { $('.list_container').css("margin-bottom", elementHight + 'px'); } else { $('.list_container').css("margin-bottom", 0 + 'px'); } lastScrollTop = scroll; }); } });

    ").insertAfter('.breadcrumbs'); /* jQuery("

    🔥 Ofertas del día 🔥

    ").insertAfter('.breadcrumbs');*/ } if (jQuery('.category-carrusel-subcategories li').hasClass('sub-vivia-cat-li')) { jQuery('.category-carrusel-subcategories').addClass('sub-vivia-cats'); } }); //End document ready});

    (Video) ¡MUEBLES DE CONCRETO 100% MEXICANOS!

    Videos

    1. Mesa plegable
    (Su Opción SAS)
    2. Banca transformable en mesa o mesa banca plegable 10
    (Olvemad muebles olvemad)
    3. Camastro de palets
    (Mi tallercito mi piace)
    4. sillas, bancos, taburetes (FABRICADOS EN HIERRO Y MADERA)
    (jhon pirriz)
    5. Silla, BANCO o Taburete de MADERA y metal para un BAR
    (Carpintero Del Desierto)
    6. Banquetas altas para Desayunador o Bar
    (Herreros Argentinos)
    Top Articles
    Latest Posts
    Article information

    Author: Edmund Hettinger DC

    Last Updated: 11/09/2022

    Views: 5792

    Rating: 4.8 / 5 (58 voted)

    Reviews: 81% of readers found this page helpful

    Author information

    Name: Edmund Hettinger DC

    Birthday: 1994-08-17

    Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

    Phone: +8524399971620

    Job: Central Manufacturing Supervisor

    Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

    Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.