Public Access
Log basket JSON to console on buyNow click
This commit is contained in:
@@ -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