Skip to content

Commit

Permalink
Set the product description
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Aug 29, 2024
1 parent 17d8399 commit 36b9090
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DataMapper/Product/ProductDataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 36b9090

Please sign in to comment.