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 e39efc3 commit 8546c71Copy full SHA for 8546c71
DataLayer/Mapper/ProductDataMapper.php
@@ -83,9 +83,7 @@ public function mapByProduct(ProductInterface $product): array
83
}
84
85
$productData['price'] = $this->priceFormatter->format((float) $product->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue());
86
- // @phpstan-ignore-next-line
87
if ($product->getCustomOption('simple_product') && $product->getCustomOption('simple_product')->getProduct()) {
88
89
$simpleProduct = $product->getCustomOption('simple_product')->getProduct();
90
$productData['price'] = $this->priceFormatter->format((float) $simpleProduct->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue());
91
0 commit comments