Update literałów + naprawa buga z pickuppoint po zmianie na graphql

This commit is contained in:
2024-08-07 14:26:52 +02:00
parent 5d1eab59d9
commit 35c25e176a
4 changed files with 22 additions and 2604 deletions

View File

@@ -11,8 +11,16 @@ if(window.location.pathname.includes("return.html") && window.location.search.in
}, 100);
}
// Przekierowanie ze strony order1 na OSCOP
if(window.location.pathname.includes("order1.html") || window.location.pathname.includes("order1.php") || (window.location.pathname.includes("signin.html") && window.location.search.includes("operation=onceorder"))){
app_shop.fn.ajaxLoadSite(1);// W starszych szablonach nie działa i trzeba zakomentować
// app_shop.fn.ajaxLoadSite(1);
window.location = "/place-order.php";
}
}
// Przekierowanie ze strony order1 na OSCOP
// document.querySelectorAll("a").forEach(aElement=>{
// if(aElement.href.includes("order1.php") || aElement.href.includes("order1.html")){
// console.log(aElement);
// aElement.href = "/place-order.php";
// }
// });