Codice aggiuntivo per carrello non funziona più 
Author: Alberto B.Ciao a tutti anche se l'a persona interessata è KOL
Tempo fa mi hai suggerito questo codice blocc-carrello, ho notato che non mi funziona più:
<script>
$( document ).ready(function() {/*K>*/;
ritardoK = 3; // secondi di ritardo da valutare
avvisoK = "Attenzione! la prenotazione è sospesa fino al 6 gennaio 2025";
//--- sezione -- preloader by KolAsim ---K
imgPreK = "https://www.microtronics.it/images/tail-spin.svg";
preK='<div id="loaderK" style="position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1000000; background-color:rgba(0,0,0,0.5);background-image: url('+imgPreK+');background-repeat: no-repeat; background-attachment: fixed; background-position: center center;background-size:20%"> </div>';
$("body").append(preK);
//--------------------------------K
setTimeout(function(){//K1>
K = $(".imProductListButton");
$(K[0]).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[1]).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[2]).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[3]).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[4]).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[5]).prop("onclick", false).click(function() { alert(avvisoK)});
$('#loaderK').hide();
}, ritardoK * 1000); //K1<<
}); /*K<<*/;
</script>
questa è la pagina incriminata: https://www.microtronics.it/taratura_strumento_blueforce.php
... ho corretto; ...così disabiliti tutti gli Aggiungi (come avverrebbe adesso):
<script>
$( document ).ready(function() {/*K>*/;
ritardoK = 3; // secondi di ritardo da valutare
avvisoK = "Attenzione! la prenotazione è sospesa fino al 25 agosto";
//--- sezione -- preloader by KolAsim ---K
imgPreK = "https://www.microtronics.it/images/tail-spin.svg";
preK ='<div id="loaderK" style="position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1000000; background-color:rgba(0,0,0,0.5);background-image: url('+imgPreK+');background-repeat: no-repeat; background-attachment: fixed; background-position: center center;background-size:20%"> </div>';
$("body").append(preK);
//--------------------------------K
setTimeout(function(){//K1>
K = $(".im-cc-products-button");
$(K).prop("onclick", false).click(function() { alert(avvisoK)});
//$(K[1]).prop("onclick", false).click(function() { alert(avvisoK)});
$('#loaderK').hide();
}, ritardoK * 1000); //K1<<
}); /*K<<*/;
</script>
----------------------------------------
... invece modificando queste stringhe così, disabiliti solo l'Aggiungi della seconda [1] scheda:
//$(K).prop("onclick", false).click(function() { alert(avvisoK)});
$(K[1]).prop("onclick", false).click(function() { alert(avvisoK)});
...................................
...l'ID [0] è la prima scheda e l'ID [5] è la sesta scheda...
... quindi puoi disabilitare le schede in modo alternato selettivo, come preferisci, aggiungendo le relative stringe con il proprio ID...
.
... ah! ... ho tolto l'anno da ALERT ...
.
ciao
.
.