From 07de1249cfda24aa7224efb7f8413e96f65df792 Mon Sep 17 00:00:00 2001 From: Reef Date: Sat, 22 Aug 2026 09:06:55 +0000 Subject: [PATCH] Log basket JSON to console on buyNow click --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index 888d394..26686f3 100644 --- a/script.js +++ b/script.js @@ -649,6 +649,7 @@ var si = 0, var item = { product_id: productId, qty: 1 }; if (location) { item.location = location; } basket.value = JSON.stringify([item]); + console.log('Buy basket:', basket.value); form.appendChild(basket); var clear = document.createElement('input'); clear.type = 'hidden';