Ignorer et passer au contenu
- Le choix d'une sélection entraîne l'actualisation de la page entière.
document.addEventListener("DOMContentLoaded", function() {
const checkoutLinks = document.querySelectorAll('a[href*="/checkout"]');
checkoutLinks.forEach(link => {
if (!link.href.includes("skip_shop_pay=true")) {
link.href += (link.href.includes("?") ? "&" : "?") + "skip_shop_pay=true";
}
});
});