From 89fa1f977c1237568e248dd955ba31640e92e6ba Mon Sep 17 00:00:00 2001 From: "Herant A." Date: Tue, 29 Apr 2025 16:01:51 +0200 Subject: [PATCH 1/2] feat: expose rowId in product wrapper --- src/DataService/MagentoProductWrapper.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/DataService/MagentoProductWrapper.php b/src/DataService/MagentoProductWrapper.php index 6c0efb2..4a9e327 100644 --- a/src/DataService/MagentoProductWrapper.php +++ b/src/DataService/MagentoProductWrapper.php @@ -47,6 +47,14 @@ public function getId(): int return (int)$this->product->getId(); } + /** + * {@inheritDoc} + */ + public function getRowId(): int + { + return (int) $this->product->getRowId(); + } + /** * {@inheritDoc} */ From 2ae48b6276f06efde098a4837b4cbcb20c7bb840 Mon Sep 17 00:00:00 2001 From: "Herant A." Date: Tue, 29 Apr 2025 16:03:00 +0200 Subject: [PATCH 2/2] feat: expose rowId in product wrapper --- src/DataService/ProductWrapper.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/DataService/ProductWrapper.php b/src/DataService/ProductWrapper.php index 8a0131c..6cdd813 100644 --- a/src/DataService/ProductWrapper.php +++ b/src/DataService/ProductWrapper.php @@ -28,6 +28,13 @@ public function getSku(): string; */ public function getId(): int; + /** + * Returns product Row ID if available + * + * @return int + */ + public function getRowId(): int; + /** * Check if product is of a type *