Public Access
Log basket JSON to console on buyNow click
This commit is contained in:
1 parent
8e5d508b13
commit
07de1249cf
1 file changed
+1
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user