From c1ba62a91e5444cc53cb6f864d3867bee539e755 Mon Sep 17 00:00:00 2001 From: Parth Thummar Date: Mon, 6 Feb 2023 14:18:24 -0500 Subject: [PATCH] Fixed error order view on Frontend Issue #5 Fixed error order view on Frontend Issue #5 --- src/DataService/MagentoProductWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataService/MagentoProductWrapper.php b/src/DataService/MagentoProductWrapper.php index 190b8be..6c0efb2 100644 --- a/src/DataService/MagentoProductWrapper.php +++ b/src/DataService/MagentoProductWrapper.php @@ -35,7 +35,7 @@ public function __construct(Product $product) */ public function getSku(): string { - return $this->product->getData('sku'); + return (string)$this->product->getData('sku'); }