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 dfe3a59 commit cc97c1bCopy full SHA for cc97c1b
app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php
@@ -39,11 +39,11 @@ public function getFinalPrice($qty, $product)
39
*/
40
public function getPrice($product)
41
{
42
- if ( !empty( $product ) ) {
+ if (!empty($product)) {
43
$simpleProductOption = $product->getCustomOption('simple_product');
44
- if ( !empty( $simpleProductOption ) ) {
+ if (!empty($simpleProductOption)) {
45
$simpleProduct = $simpleProductOption->getProduct();
46
- if ( !empty( $simpleProduct ) ) {
+ if (!empty($simpleProduct)) {
47
return $simpleProduct->getPrice();
48
}
49
0 commit comments