瀏覽代碼

Correctif reductionCatalog

packProduct
Fabien Normand 3 年之前
父節點
當前提交
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…
取消
儲存