diff --git a/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php b/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php index c5328fc0..3089a338 100644 --- a/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php +++ b/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php @@ -586,9 +586,9 @@ class ImportService implements SingletonInterface $type = 'VER'; } - $price = (int) $service->preis; + $price = (float) str_replace(',', '.', $service->preis); - if ($skipWithoutPrice && $price === 0) { + if ($skipWithoutPrice && $price === 0.0) { continue; } @@ -605,7 +605,7 @@ class ImportService implements SingletonInterface $data[$type][] = [ 'label' => $label, - 'price' => $price, + 'price' => number_format($price, 2, ',', '.'), ]; }