Update literałów + naprawa buga z pickuppoint po zmianie na graphql
This commit is contained in:
14
script.js
14
script.js
@@ -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";
|
||||
// }
|
||||
// });
|
||||
Reference in New Issue
Block a user