From 67d7de1901121bfdda8523eba483c1985143d597 Mon Sep 17 00:00:00 2001 From: Francesco Boes Date: Sun, 9 Aug 2020 04:24:40 +0200 Subject: [PATCH] [bug-#1136] Wrong special price for bundle products when using percentage --- app/code/core/Mage/Catalog/Model/Product/Type/Price.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/code/core/Mage/Catalog/Model/Product/Type/Price.php b/app/code/core/Mage/Catalog/Model/Product/Type/Price.php index 1775209246e..917c8d1b50e 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Type/Price.php +++ b/app/code/core/Mage/Catalog/Model/Product/Type/Price.php @@ -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() ); }