return $price;
} /**
* @param int $taxId
*
* @return string|false
*/
public function getTaxRateByConditions($taxId) { $taxRate =
$this->contextService->
getShopContext()->
getTaxRule($taxId);
if ($taxRate) { return number_format($taxRate->
getTax(), 2
);
} return false;
} /**
* Product price calculation un-formatted return
*
* @param float $price
* @param float $tax
* @param bool $doNotRound
* @param bool $ignoreTax
* @param int $taxId
* @param bool $ignoreCurrency
* @param array $article product data as an array
*
* @throws Enlight_Exception
*
* @return float $price price non-formatted
*/