Преглед изворни кода

Correctif reductionCatalog

packProduct
Fabien Normand пре 2 година
родитељ
комит
faba877f24
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      Solver/Price/PriceSolverTrait.php

+ 1
- 1
Solver/Price/PriceSolverTrait.php Прегледај датотеку

@@ -58,7 +58,7 @@ trait PriceSolverTrait
if($entity instanceof ProductFamilyInterface) {
$taxRate = $this->productFamilySolver->getTaxRateInherited($entity)->getValue();
}else if ($entity instanceof ProductInterface) {
$taxRate = $this->productSolver->getTaxRateInherited($entity)->getValue();
$taxRate = $this->productFamilySolver->getTaxRateInherited($entity->getProductFamily())->getValue();
}else{
$taxRate = $entity->getTaxRate()->getValue();
}

Loading…
Откажи
Сачувај