Skip to content

Commit

Permalink
Fix #7371
Browse files Browse the repository at this point in the history
 'catalog_rule_price' is added to products only before load of the Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Product\Collection and it is used only for detecting the minimal price here - Magento\Catalog\Pricing\Price\BasePrice. Due to it the price has never converted to the site currency.
  • Loading branch information
rossluk authored Feb 17, 2017
1 parent e82ba2e commit 9f9c76f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public function getValue()
$this->product->getId()
);
$this->value = $this->value ? floatval($this->value) : false;
if ($this->value) {
$this->value = $this->priceCurrency->convertAndRound($this->value);
}
}
if ($this->value) {
$this->value = $this->priceCurrency->convertAndRound($this->value);
}
}

Expand Down

0 comments on commit 9f9c76f

Please sign in to comment.