We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff4b6a commit 758245aCopy full SHA for 758245a
app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php
@@ -172,7 +172,8 @@ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $obje
172
foreach ($storeIds as $storeId) {
173
if ($object->getPriceType() == 'fixed') {
174
$storeCurrency = $this->_storeManager->getStore($storeId)->getBaseCurrencyCode();
175
- $rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)->getRate($storeCurrency);
+ $rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)
176
+ ->getRate($storeCurrency);
177
if (!$rate) {
178
$rate = 1;
179
}
0 commit comments