From 36b9090b789d6a77bd04fee56688a3b9204f610d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Thu, 29 Aug 2024 11:33:31 +0200 Subject: [PATCH] Set the product description --- src/DataMapper/Product/ProductDataMapper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DataMapper/Product/ProductDataMapper.php b/src/DataMapper/Product/ProductDataMapper.php index b1fef8b..5c07566 100644 --- a/src/DataMapper/Product/ProductDataMapper.php +++ b/src/DataMapper/Product/ProductDataMapper.php @@ -14,5 +14,6 @@ public function map(ProductVariantInterface $productVariant, Product $product): $product->productId = $productVariant->getProduct()?->getCode(); $product->variantId = $productVariant->getCode(); $product->itemNumber = $productVariant->getCode(); + $product->description = $productVariant->getProduct()?->getName(); } }