We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49002c4 commit 7100e22Copy full SHA for 7100e22
src/functions/pre-payment-webhook-webflow/pre-payment-webhook-webflow.js
@@ -302,6 +302,7 @@ function sufficientInventory(comparable) {
302
if (inventoryField === undefined) {
303
// The Webflow collection does not have the proper inventory field: ignore
304
console.log(`Warning: the inventory field (${inventoryField}) does not exist in this webflow collection. Skipping inventory check.`);
305
+ console.debug(`Available fields: `, Object.keys(wfItem));
306
return true;
307
}
308
const fxQuantity = Number(fxItem.quantity);
0 commit comments