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 7100e22 commit aeac5a9Copy full SHA for aeac5a9
src/functions/pre-payment-webhook-webflow/pre-payment-webhook-webflow.js
@@ -301,7 +301,7 @@ function sufficientInventory(comparable) {
301
}
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.`);
+ console.log(`Warning: the inventory field (${field}) does not exist in this webflow collection. Skipping inventory check.`);
305
console.debug(`Available fields: `, Object.keys(wfItem));
306
return true;
307
0 commit comments