diff --git a/src/Services/Readers/ProductReader.php b/src/Services/Readers/ProductReader.php index 7b6569d..fe299a2 100644 --- a/src/Services/Readers/ProductReader.php +++ b/src/Services/Readers/ProductReader.php @@ -180,6 +180,9 @@ public function getProductsData(string $productIds, SalesChannelContext $salesCh 'price' => $product->getCalculatedPrice()->getUnitPrice(), 'tax' => $product->getCalculatedPrice()->getTaxRules()->first()->getTaxRate(), 'weight' => $product->getWeight(), + 'width' => $product->getWidth()/10, + 'height' => $product->getHeight()/10, + 'length' => $product->getLength()/10, 'description' => $product->getTranslation('description'), 'description_extra1' => $product->getTranslation('metaDescription'), 'description_extra2' => '', @@ -650,4 +653,4 @@ private function preparePrice(Price $productPrice): array return $price; } -} \ No newline at end of file +}