diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php b/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php index 03bc030f045..b5e9471ce62 100644 --- a/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php +++ b/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php @@ -25,14 +25,14 @@ class Mage_Catalog_Block_Product_View_Type_Configurable extends Mage_Catalog_Blo { /** * Prices - * + * @deprecated * @var array */ protected $_prices = []; /** * Prepared prices - * + * @deprecated * @var array */ protected $_resPrices = []; @@ -216,14 +216,7 @@ public function getJsonConfig() $optionPrices[] = $configurablePrice; } } - /** - * Prepare formatted values for options choose - */ - foreach ($optionPrices as $optionPrice) { - foreach ($optionPrices as $additional) { - $this->_preparePrice(abs($additional - $optionPrice)); - } - } + if ($this->_validateAttributeInfo($info)) { $attributes[$attributeId] = $info; }