public function getTaxAmount($decimal_size = null)
    {
        // Round using default rounding defined on MathsHelper
        $tax = MathsHelper::round(
            ($this->BasePrice / 100) * $this->TaxRate,
            2
        );
        $this->extend("updateTaxAmount", $tax);

        return $tax;
    }
public function getTaxAmount($decimal_size = null)
    {
        // Round using default rounding defined on MathsHelper
        $tax = MathsHelper::round(
            ($this->BasePrice / 100) * $this->TaxRate,
            2
        );
        $this->extend("updateTaxAmount", $tax);

        return $tax;
    }
public function getTaxAmount ( $ decimal_size = null ) { // Round using default rounding defined on MathsHelper $ tax = MathsHelper :: round ( ( $ this -> BasePrice / 100 ) * $ this -> TaxRate , 2 ) ; $ this -> extend ( "updateTaxAmount" , $ tax ) ; return $ tax ; }
Get a final tax amount for this product. You can extend this
method using "UpdateTax" allowing third party modules to alter
tax amounts dynamically.

@return Float
Get a final tax amount for this product . You can extend this method using UpdateTax allowing third party modules to alter tax amounts dynamically .