From 6e86031576b2584903700e5373a8b5e6a9d37678 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Sun, 14 Jun 2026 20:11:35 +0000 Subject: [PATCH] Fix add-to-cart: bust main.js SW cache, add inline onclick to shop buttons Service worker was caching main.js (cache-first strategy) so event listeners may not have been running. Added filemtime version param to main.js like CSS. Also added inline onclick to shop page buttons so they work regardless of whether event delegation is functional. Co-Authored-By: Claude Sonnet 4.6 --- includes/footer.php | 2 +- shop.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/footer.php b/includes/footer.php index ecacb3d..9e4f6f3 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -71,7 +71,7 @@ - +