Valor total ***

Carro de Compras
Tu Carro de Compras está vacío
Cómo Comprar

Accesorios

TUS FILTROS

CATEGORÍA:

Accesorios

Accesorios

    Categorías

    CATEGORÍAS

    Marca
    • Adidas
    • New Era
    • Reebok
    • Nike
    Color
    • Amarillo
    • Azul
    • Blanco
    • Gris
    • Naranja
    • Negro
    • Rojo
    • Rosado
    • Verde
    Talla
    • S
    • M
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    Genero
    • GENERICO
    • Hombre
    • Mujer
    • Niño
    • UNISEX
    • Unisex

    Filtrar por:

    Organizar por:

    Pagina:

    Organizar por:

    Pagina:

    $(".filter-list-more").bind("click", function() { var filtro_target=$(this).attr("data-for"); $("#ul_target_"+filtro_target+" li:gt(9)").show(); $("#filter-show-more-"+filtro_target).toggle(); $("#filter-show-less-"+filtro_target).toggle(); }); $(".filter-list-less").bind("click", function() { var filtro_target=$(this).attr("data-for"); $("#ul_target_"+filtro_target+" li:gt(9)").hide(); $("#filter-show-more-"+filtro_target).toggle(); $("#filter-show-less-"+filtro_target).toggle(); }); $(".filter_spec").bind("click", function() { if ($(this).hasClass("filter_spec_in_use") || $(this).hasClass("filter_spec_in_use_img") ) { //borrar este spec var spec_cat_num=$(this).attr("data-spec-cat-num"); var spec_opt_num=$(this).attr("data-spec-opt-num"); //remover ese cvalor de sp_cats 2|1 var cats_arr=sp_cats.split("|"); var opts_arr=sp_opts.split("|"); var sp_cats_list = ""; var sp_opts_list = ""; for (var j in cats_arr) { //console.log("cats "+cats_arr[j]+" => "+spec_cat_num); //console.log("ops "+opts_arr[j]+" => "+spec_opt_num); if ((cats_arr[j] != "") && (opts_arr[j] != "")) { if ((cats_arr[j] == spec_cat_num) && (opts_arr[j]==spec_opt_num) ) { //console.log("borrar"); } else { //console.log("agregar"); sp_cats_list=cats_arr[j]+"|"+sp_cats_list; sp_opts_list=opts_arr[j]+"|"+sp_opts_list; } } } var str=""; if (sp_opts_list != "") { str="?spcatsl="+sp_cats_list+"&spopsl="+sp_opts_list; } var headref=$(this).attr("data-spec-href"); var url=headref+str; window.location.href=url; } else { var spec_cat_num=$(this).attr("data-spec-cat-num"); var sp_cats_list=spec_cat_num+"|"+sp_cats; var spec_opt_num=$(this).attr("data-spec-opt-num"); var sp_ops_list=spec_opt_num+"|"+sp_opts; var headref=$(this).attr("data-spec-href"); var url=headref+"?spcatsl="+sp_cats_list+"&spopsl="+sp_ops_list; window.location.href=url; } }); const formatter = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0, }); $(document).ready(()=>{ if($("input[name=pf]").val() != ""){ var for_pf = formatter.format($("input[name=pf]").val()); $("input[name=pf]").val(for_pf); } if($("input[name=pt]").val() != ""){ var for_pt = formatter.format($("input[name=pt]").val()); $("input[name=pt]").val(for_pt); } let currentUrl = window.location; let auxiliar = document.createElement("a"); auxiliar.href = currentUrl; let queryVars = auxiliar.search.substr(1); const query = getUrlVars(queryVars); preserveSpecsWhenSorting(query); $("input[name=pf]").on("blur",function(){ var for_pf = formatter.format($(this).val()); $(this).val(for_pf); }); $("input[name=pt]").on("blur",function(){ var for_pt = formatter.format($(this).val()); $(this).val(for_pt); }); $("input[name=pf]").on("focus",function(){ var rep_pf = $(this).val().replace(/[^0-9.]/,"").replace(/,/,"").trim(); $(this).val(rep_pf); }); $("input[name=pt]").on("focus",function(){ var rep_pt = $(this).val().replace(/[^0-9.]/,"").replace(/,/,"").trim(); $(this).val(rep_pt); }); }) function preserveSpecsWhenSorting(query) { let sortingSelect = $("#tpl_sort_by select"); if(sortingSelect) { let queryString = "sort=' + this.value + '"; for(let i = 0; i < query.length; i++) { let key = query.keys[i]; if(key !== 'sort'){ queryString += '&' + key + '=' + query[key]; } } $(sortingSelect).attr('onchange', "javascript: location.href = '?" + queryString + "';"); } } function getUrlVars(url) { let result = { keys: [], length: 0 }; if(url && url.length > 0) { url = url.split('&'); for(let i = 0; i < url.length; i++) { let currentVar = url[i].split('='); if(currentVar.length > 1) { let key = currentVar.shift(); let value = currentVar.join('='); result[key] = value; result.keys.push(key); result.length++; } } } return result; } function changeLocation(requestData){ console.log('changeLocation',requestData); coordinates = {}; address = `${requestData.state},${requestData.city}`; if(typeof requestData.address !== null) address += ` ${requestData.address}`; getAddress(address) .then((result) => { coordinates = result; }) .finally(() => { if(typeof coordinates.lat !== undefined && typeof coordinates.lng !== undefined){ requestData.lat = coordinates.lat; requestData.lng = coordinates.lng; } $.ajax({ type: "POST", url: "/ajax/accept_national_ip.phtml", data: requestData, async:false, success: function(data) { if(data.state != undefined && data.city != undefined) document.getElementById('state_city').text = `${data.state},${data.city}`; setGeoCookie(`${data.state},${data.city}`); if(requestData.reload){ window.location.reload(); } } }); }); } }, false);