Skip to content

Commit

Permalink
OM PR 4008
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Oct 11, 2024
1 parent 1576c67 commit 4c6fa1c
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,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 = [];
Expand Down Expand Up @@ -212,14 +212,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;
}
Expand Down

0 comments on commit 4c6fa1c

Please sign in to comment.