diff --git a/script.js b/script.js index 837fdea..16f0272 100644 --- a/script.js +++ b/script.js @@ -647,7 +647,7 @@ var si = 0, basket.type = 'hidden'; basket.name = 'basket'; var item = { product_id: productId, qty: 1 }; - if (location) { item.INFO = location.replace('.odoo4projects.com', ''); } + if (location) { item.info = location.replace('.odoo4projects.com', ''); } basket.value = JSON.stringify([item]); console.log('Buy basket:', basket.value); form.appendChild(basket);