Scegli il numero
Il codice viene applicato in automatico nel carrello.
'; var Q=function(c){return ov.querySelector(c)}; var im=document.getElementById("oscMainImg")||document.querySelector(".woocommerce-product-gallery img,.product-gallery img");if(im&&im.src){Q("img").src=im.currentSrc||im.src;Q("img").hidden=false} Q(".oscbc-pt").textContent=((document.querySelector(".product_title,.product-title,h1")||{}).textContent||"").trim(); var pm=Q(".oscbc-pm"),phx={};try{phx=JSON.parse(s.getAttribute("data-ph")||"{}")}catch(_){}pm.style.cssText=phx.bg?"background:"+phx.bg+";color:"+(phx.fg||"#111"):(s.getAttribute("data-bstyle")||"background:#c00;color:#fff");pm.textContent=b.textContent.replace(/\s*→\s*$/,"").replace(/\s*:[^:]*$/,""); Q(".oscbc-pn b").textContent=code; var ps=Q(".oscbc-ps"),n=0; [].forEach.call(vf.querySelectorAll(".osc-var-opt"),function(op){var nm=((op.querySelector(".osc-var-num")||op).textContent||"").trim();if(!nm||/selez|scegli|choose|select|wähl|choisi|elige|wybierz/i.test(nm))return; var sx=((op.querySelector(".osc-var-st")||{}).textContent||"");var off=/esaur|out of|non disp|ausverk|puis|agotad|wyprzed/i.test(sx)||op.classList.contains("disabled")||op.getAttribute("aria-disabled")==="true"; var bt=document.createElement("button");bt.type="button";bt.textContent=nm;if(off){bt.disabled=true;bt.title=sx.trim()}n++; bt.addEventListener("click",function(){[].forEach.call(ps.querySelectorAll("button"),function(x){x.classList.remove("on")});bt.classList.add("on");Q(".oscbc-pe").textContent="";op.click(); setTimeout(function(){if(!go()){bt.classList.remove("on");Q(".oscbc-pe").textContent="Questo numero non è disponibile, scegline un altro."}},300)}); ps.appendChild(bt)}); if(!n){if(go())return;Q(".oscbc-pl").hidden=true} function cl(){if(ov.parentNode)ov.parentNode.removeChild(ov);document.removeEventListener("keydown",ek)} function ek(e){if(e.key==="Escape")cl()} Q(".oscbc-px").addEventListener("click",cl);ov.addEventListener("click",function(e){if(e.target===ov)cl()});document.addEventListener("keydown",ek); document.body.appendChild(ov)} vf.scrollIntoView({behavior:"smooth",block:"center"});vf.classList.add("oscbc-pick");setTimeout(function(){vf.classList.remove("oscbc-pick")},6000); var h=vf.querySelector('input[name="oscbc_apply"]');if(!h){h=document.createElement("input");h.type="hidden";h.name="oscbc_apply";vf.appendChild(h)}h.value=code; var sb=vf.querySelector(".single_add_to_cart_button"),vi=vf.querySelector('input[name="variation_id"]'),J=window.jQuery; if(!vf.classList.contains("variations_form")||(vi&&+vi.value>0)){if(sb)sb.click()}else if(J)J(vf).one("found_variation",function(){setTimeout(function(){if(sb)sb.click()},200)})}); })(); var st=document.querySelector(".oscbc-strip");if(!st)return; var ph=null,fx=false,adj=[],bpad=null; var id=st.getAttribute("data-id"),A=function(n){return st.getAttribute("data-"+n)},LS={g:function(k){try{return localStorage.getItem(k)}catch(_){return null}},s:function(k,v){try{localStorage.setItem(k,v)}catch(_){}}}; function rm(){if(st.parentNode)st.parentNode.removeChild(st)} function track(act){if(!st.hasAttribute("data-track"))return;var nm=A("name")||"",vr=A("variant")||"";window.dataLayer=window.dataLayer||[]; window.dataLayer.push({event:"oscbc_"+act,oscbc_id:id,oscbc_name:nm,oscbc_variant:vr}); if(typeof window.gtag==="function"){if(act==="view")gtag("event","view_promotion",{promotion_id:id,promotion_name:nm,creative_name:vr,creative_slot:"barra_top"});else gtag("event","select_promotion",{promotion_id:id,promotion_name:nm,creative_name:vr,creative_slot:"barra_top",oscbc_action:act});}} if(st.hasAttribute("data-close")&&LS.g("oscbc_x")===id){rm();return} var SS={g:function(k){try{return sessionStorage.getItem(k)}catch(_){return null}},s:function(k,v){try{sessionStorage.setItem(k,v)}catch(_){}}},q=location.search; if(/[?&](gclid|gbraid|wbraid)=/.test(q)||/[?&]utm_medium=(cpc|ppc|paid)/i.test(q))SS.s("oscbc_src","ads");else if(/[?&]utm_medium=(email|newsletter)/i.test(q))SS.s("oscbc_src","email"); var isNew;if(!LS.g("oscbc_seen")){LS.s("oscbc_seen","1");SS.s("oscbc_new","1");isNew=true}else isNew=SS.g("oscbc_new")==="1"; var aud=A("aud");if(aud){var inCart=/woocommerce_items_in_cart=1/.test(document.cookie),lg=document.body&&document.body.classList.contains("logged-in"); var okA={"new":isNew,"returning":!isNew,"ads":SS.g("oscbc_src")==="ads","email":SS.g("oscbc_src")==="email","cart":inCart,"nocart":!inCart,"logged":lg,"guest":!lg}[aud];if(okA===false){rm();return}} function lst(n){return(A(n)||"").split(",").map(function(x){return x.trim()}).filter(function(x){return x})} var path=location.pathname+location.search,inc=lst("inc"),exc=lst("exc"); if(inc.length&&!inc.some(function(x){return path.indexOf(x)>=0})){rm();return} if(exc.some(function(x){return path.indexOf(x)>=0})){rm();return} var fmt=window.Intl&&Intl.DateTimeFormat?new Intl.DateTimeFormat("en-GB",{timeZone:"Europe/Rome",weekday:"short",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:false}):null; function rome(t){if(!fmt)return null;var P={};fmt.formatToParts(new Date(t||Date.now())).forEach(function(x){P[x.type]=x.value});return{wd:{Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6,Sun:7}[P.weekday]||0,sec:(+P.hour%24)*3600+(+P.minute)*60+(+P.second)}} function hm(x){x=(x||"0:0").split(":");return(+x[0])*3600+(+x[1]||0)*60} function okWin(){var h=A("hours");if(!h)return true;var r=rome();if(!r)return true;var dd=lst("hdays");if(dd.length&&dd.indexOf(String(r.wd))<0)return false;var p=h.split("-"),f=hm(p[0]),t=hm(p[1]);return f<=t?(r.sec>=f&&r.sec=f||r.sec=fq){rm();return}LS.s(vk,vc+1)} var x=st.querySelector(".oscbc-x");if(x)x.addEventListener("click",function(ev){ev.preventDefault();LS.s("oscbc_x",id);track("close");rm()}); var lk=st.querySelector("a");if(lk)lk.addEventListener("click",function(){track("click")}); var buy=st.querySelector('a[href="#oscbc-buy"],.oscbc-buybtn:not(.oscbc-ob)');if(buy)buy.addEventListener("click",function(ev){ev.preventDefault();var fm=document.querySelector("form.cart");if(!fm){location.href=A("cart")||"/";return} var h=fm.querySelector('input[name="oscbc_apply"]');if(!h){h=document.createElement("input");h.type="hidden";h.name="oscbc_apply";fm.appendChild(h)}h.value=A("buy")||""; var J=window.jQuery,cart=A("cart");if(J&&cart)J(document.body).one("added_to_cart",function(){location.href=cart}); function go(){var b=fm.querySelector(".single_add_to_cart_button");if(b&&!b.classList.contains("disabled")&&!b.disabled){b.click();return true}return false} var vi=fm.querySelector('input[name="variation_id"]'); if(fm.classList.contains("variations_form")&&!(vi&&+vi.value>0)){fm.scrollIntoView({behavior:"smooth",block:"center"});fm.classList.add("oscbc-pick");setTimeout(function(){fm.classList.remove("oscbc-pick")},4000); var sel=fm.querySelector(".variations select");if(sel)try{sel.focus()}catch(_){} if(J)J(fm).one("found_variation",function(){setTimeout(go,200)})} else if(!go())fm.submit()}); var sa=+A("start")||0,dl=(+A("delay")||0)*1000,t0=Date.now(),shown=false; function ck(){if(shown)return true;if(sa&&Date.now()0&&left=0&&secoff&&r.top<=off+2)off=r.bottom} var top=(fx?ph:st).getBoundingClientRect().top; if(top=vh)return; var known=null;adj.forEach(function(a){if(a.el===el)known=a}); if(r.width>=vw*.6){if(vh-r.bottom<40&&!known){var hh=vh-r.top;if(hh>vh*.3)tall=true;else wideH=Math.max(wideH,hh)}return} if(known||vh-r.bottom

Guten Morgen an alle Besucher und alle Kunden. In den letzten 24 Stunden haben wir am outletscarpeonline.it -Server gearbeitet, um die Website schneller und einfacher zu navigieren. Wir haben dafür gesorgt, dass keine Art von Unterbrechung im Service erzeugt wird, indem wir die Downloads unseres Servers auf ein Minimum beschränken. Heute haben wir endlich die volle Funktionalität der Website wiederhergestellt und hoffentlich auch die Navigationserfahrung verbessert, falls jemand Fehler oder Probleme bemerkt, machen wir es uns bitte mit Hilfe des Kontaktformulars bekannt. Vielen Dank im Voraus und guten Einkauf! Wir erwarten Sie auch heute!