Valor total ***

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

Hoodies y Chaquetas

TUS FILTROS

CATEGORÍA:

Hoodies y Chaquetas

Hoodies y Chaquetas

CATEGORÍAS

Color
  • Azul
  • Blanco
  • Gris
  • Negro
Genero
  • Hombre
  • Niño
Marca
  • Adidas
  • Prince
Talla
  • L
  • M
  • S
  • XL
  • XS

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 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; //alert (url); window.location.href=url } else { var spec_cat_num=$(this).attr("data-spec-cat-num"); console.log("spec_cat_num "+spec_cat_num); var sp_cats_list=spec_cat_num+"|"+sp_cats; console.log("sp_cats_list "+sp_cats_list); var spec_opt_num=$(this).attr("data-spec-opt-num"); console.log("spec_opt_num "+spec_opt_num); var sp_ops_list=spec_opt_num+"|"+sp_opts; console.log("sp_ops_list "+sp_ops_list); var headref=$(this).attr("data-spec-href"); console.log("headref "+headref); var url=headref+"?spcatsl="+sp_cats_list+"&spopsl="+sp_ops_list; console.log("url "+url); window.location.href=url; } }); $(document).ready(()=>{ let currentUrl = window.location; let auxiliar = document.createElement("a"); auxiliar.href = currentUrl; let queryVars = auxiliar.search.substr(1); const query = getUrlVars(queryVars); preserveSpecsWhenSorting(query); }) 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);