We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0dbb0 commit 3926d59Copy full SHA for 3926d59
Model/AbstractDataLayer.php
@@ -258,7 +258,7 @@ protected function getPrice(Product $product): float
258
{
259
$priceInfo = $product->getPriceInfo()->getPrice('final_price')->getAmount();
260
$price = $priceInfo->getValue();
261
- return $this->formatPrice($price);
+ return $this->formatPrice((float)$price);
262
}
263
264
/**
@@ -274,7 +274,7 @@ protected function getProductValue($product): float
274
$value = $priceInfo->getValue();
275
276
277
- return $this->formatPrice($value);
+ return $this->formatPrice((float)$value);
278
279
280
0 commit comments