diff --git a/assets/images/icons/payment/after.png b/assets/images/icons/payment/after.png new file mode 100644 index 0000000..db5eba4 Binary files /dev/null and b/assets/images/icons/payment/after.png differ diff --git a/assets/images/icons/payment/amex.png b/assets/images/icons/payment/amex.png new file mode 100644 index 0000000..59613c7 Binary files /dev/null and b/assets/images/icons/payment/amex.png differ diff --git a/assets/images/icons/payment/master.png b/assets/images/icons/payment/master.png new file mode 100644 index 0000000..1bce7cd Binary files /dev/null and b/assets/images/icons/payment/master.png differ diff --git a/assets/images/icons/payment/paypal.png b/assets/images/icons/payment/paypal.png new file mode 100644 index 0000000..5a4d2cc Binary files /dev/null and b/assets/images/icons/payment/paypal.png differ diff --git a/assets/images/icons/payment/visa.png b/assets/images/icons/payment/visa.png new file mode 100644 index 0000000..57f4b34 Binary files /dev/null and b/assets/images/icons/payment/visa.png differ diff --git a/assets/images/icons/shipping/aupost.png b/assets/images/icons/shipping/aupost.png new file mode 100644 index 0000000..1d7cef4 Binary files /dev/null and b/assets/images/icons/shipping/aupost.png differ diff --git a/assets/images/icons/shipping/couriers.png b/assets/images/icons/shipping/couriers.png new file mode 100644 index 0000000..ab6da00 Binary files /dev/null and b/assets/images/icons/shipping/couriers.png differ diff --git a/assets/images/icons/shipping/dhl.png b/assets/images/icons/shipping/dhl.png new file mode 100644 index 0000000..fb6c949 Binary files /dev/null and b/assets/images/icons/shipping/dhl.png differ diff --git a/assets/images/icons/shipping/fedex.png b/assets/images/icons/shipping/fedex.png new file mode 100644 index 0000000..4af9fe0 Binary files /dev/null and b/assets/images/icons/shipping/fedex.png differ diff --git a/assets/images/icons/shipping/sendle.png b/assets/images/icons/shipping/sendle.png new file mode 100644 index 0000000..7ba7b74 Binary files /dev/null and b/assets/images/icons/shipping/sendle.png differ diff --git a/assets/images/icons/shipping/star.png b/assets/images/icons/shipping/star.png new file mode 100644 index 0000000..90340bc Binary files /dev/null and b/assets/images/icons/shipping/star.png differ diff --git a/assets/images/icons/shipping/tnt.png b/assets/images/icons/shipping/tnt.png new file mode 100644 index 0000000..1a25e53 Binary files /dev/null and b/assets/images/icons/shipping/tnt.png differ diff --git a/assets/images/icons/shipping/ups.png b/assets/images/icons/shipping/ups.png new file mode 100644 index 0000000..a27aa8f Binary files /dev/null and b/assets/images/icons/shipping/ups.png differ diff --git a/assets/js/config.js b/assets/js/config.js index ca7d2e7..7e782ee 100644 --- a/assets/js/config.js +++ b/assets/js/config.js @@ -2,13 +2,15 @@ window.PROLOGY_CONFIG = { API_URL: "https://prologyms.nswteam.net/chat-plugin/api/support", LOGO_SRC: "assets/Prology_logo.png", + // ── Store picker (modal) ── + STORE_AU_URL: "https://prology.net/au", + STORE_US_URL: "https://prology.net/us", + // ── Footer ── FOOTER_DATA_URL: "assets/data-footer.json", - FOOTER_BASE_URL: "http://localhost:8080/", - FOOTER_STATIC_URL: - "http://localhost:8080/static/version1778227322/frontend/Netstore/default/en_US/", - FOOTER_LOGO_URL: - "http://localhost:8080/media/logo/stores/1/Prology-2-e1665964900953_6_.png", + FOOTER_BASE_URL: "https://prology.net/au/", + FOOTER_STATIC_URL: "assets/", + FOOTER_LOGO_URL: "assets/Prology_logo.png", FOOTER_CATEGORIES: [ { label: "Compute", url: "compute.html" }, { label: "Storage", url: "storage.html" }, diff --git a/assets/js/modals.js b/assets/js/modals.js index 327687f..99a7dc9 100644 --- a/assets/js/modals.js +++ b/assets/js/modals.js @@ -476,7 +476,6 @@ window.openEnquireModal = () => document.getElementById("wc-enquire-modal").open(); - // goToSellStep2: pass email from capsule input into sell modal // ── Store picker modal ── window.openStoreModal = function () { const overlay = document.getElementById("store-modal-overlay"); @@ -495,6 +494,23 @@ if (e.key === "Escape") closeStoreModal(); }); + // Wire store picker links from config + const cfg = window.PROLOGY_CONFIG || {}; + document.querySelectorAll('[data-store="au"]').forEach((el) => { + if (cfg.STORE_AU_URL) el.setAttribute("href", cfg.STORE_AU_URL); + }); + document.querySelectorAll('[data-store="us"]').forEach((el) => { + if (cfg.STORE_US_URL) el.setAttribute("href", cfg.STORE_US_URL); + }); + + // Intercept any /shop link → open store picker instead + document.addEventListener("click", function (e) { + const a = e.target.closest('a[href="/shop"]'); + if (!a) return; + e.preventDefault(); + window.openStoreModal(); + }); + window.goToSellStep2 = function () { const emailInput = document.getElementById("sell-email-init"); const email = emailInput ? emailInput.value : ""; diff --git a/index.html b/index.html index 2b81eeb..0e2a31f 100644 --- a/index.html +++ b/index.html @@ -767,7 +767,7 @@ - @@ -858,7 +858,7 @@ Procure authentic Cisco, HP & Toshiba equipment. Delivery worldwide.

- @@ -918,7 +918,7 @@

- +