Fixed exchange rate exception

This commit is contained in:
jitendra 2019-09-06 15:48:59 +05:30
parent 0b22ca7ad1
commit d8403bf162
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class ExchangeRateController extends Controller
$this->currencyRepository = $currencyRepository;
$this->exchangeRate = $exchangeRate;
$this->exchangeRateRepository = $exchangeRateRepository;
$this->_config = request('_config');
}

View File

@ -386,7 +386,7 @@ class Configurable extends AbstractType
if (! $childProduct->haveSufficientQuantity($data['quantity']))
return trans('shop::app.checkout.cart.quantity.inventory_warning');
$price = $this->getFinalPrice();
$price = $childProduct->getTypeInstance()->getFinalPrice();
$products = [
[