Skip to content

Commit

Permalink
[bug-OpenMage#1136] Wrong special price for bundle products when usin…
Browse files Browse the repository at this point in the history
…g percentage
  • Loading branch information
boesbo authored and edannenberg committed Aug 24, 2020
1 parent 2c32292 commit 67d7de1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/code/core/Mage/Catalog/Model/Product/Type/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,12 @@ protected function _getCustomerGroupId($product)
*/
protected function _applySpecialPrice($product, $finalPrice)
{
return $this->calculateSpecialPrice($finalPrice, $product->getSpecialPrice(), $product->getSpecialFromDate(),
$product->getSpecialToDate(), $product->getStore()
return static::calculateSpecialPrice(
$finalPrice,
$product->getSpecialPrice(),
$product->getSpecialFromDate(),
$product->getSpecialToDate(),
$product->getStore()
);
}

Expand Down

0 comments on commit 67d7de1

Please sign in to comment.