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';