Skip to content

Commit 1ad1611

Browse files
committed
MAGETWO-98366: [Magento Cloud] Recalculation of Tier prices after customer logs in
1 parent 317b3aa commit 1ad1611

File tree

1 file changed

+6
-6
lines changed
  • app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable

1 file changed

+6
-6
lines changed

app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99

1010
use Magento\Catalog\Model\Product;
1111

12+
/**
13+
* Class Price for configurable product
14+
*/
1215
class Price extends \Magento\Catalog\Model\Product\Type\Price
1316
{
1417
/**
15-
* Get product final price
16-
*
17-
* @param float $qty
18-
* @param Product $product
19-
* @return float
18+
* @inheritdoc
2019
*/
2120
public function getFinalPrice($qty, $product)
2221
{
@@ -40,7 +39,7 @@ public function getFinalPrice($qty, $product)
4039
}
4140

4241
/**
43-
* {@inheritdoc}
42+
* @inheritdoc
4443
*/
4544
public function getPrice($product)
4645
{
@@ -53,6 +52,7 @@ public function getPrice($product)
5352
}
5453
}
5554
}
55+
5656
return 0;
5757
}
5858
}

0 commit comments

Comments
 (0)