From 00fa0ab42902f97174f9dbf936a966890f7c0cb1 Mon Sep 17 00:00:00 2001 From: August Miller Date: Thu, 8 Aug 2024 11:45:02 -0700 Subject: [PATCH] Feed is an array at this point --- src/elements/CommerceProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/CommerceProduct.php b/src/elements/CommerceProduct.php index f9ab05ff..d1774db1 100644 --- a/src/elements/CommerceProduct.php +++ b/src/elements/CommerceProduct.php @@ -532,7 +532,7 @@ private function _inventoryUpdate($event): void 'inventoryItem' => $inventoryItem, 'inventoryLocation' => $location, 'quantity' => $stock, - 'note' => sprintf('Imported via feed ID #%s', $event->feed->id), + 'note' => sprintf('Imported via feed ID #%s', $event->feed['id']), ]); $updateInventoryLevels->push($update);