src/Cart/Manager.php
public function taxTotal($formatted = true)
    {
        $taxTotal = 0.00;
        $cartProducts = $this->getSession();
        foreach ($cartProducts as $product) {
            $taxTotal += $product->tax();
        }

        if ($formatted == true) {
            $symbol = Session::get('currency_symbol');
            return  $symbol . number_format($taxTotal, 2);
        }

        return $taxTotal;
    }
public function taxTotal($formatted = true)
    {
        $taxTotal = 0.00;
        $cartProducts = $this->getSession();
        foreach ($cartProducts as $product) {
            $taxTotal += $product->tax();
        }

        if ($formatted == true) {
            $symbol = Session::get('currency_symbol');
            return  $symbol . number_format($taxTotal, 2);
        }

        return $taxTotal;
    }
public function taxTotal ( $ formatted = true ) { $ taxTotal = 0.00 ; $ cartProducts = $ this -> getSession ( ) ; foreach ( $ cartProducts as $ product ) { $ taxTotal += $ product -> tax ( ) ; } if ( $ formatted == true ) { $ symbol = Session :: get ( 'currency_symbol' ) ; return $ symbol . number_format ( $ taxTotal , 2 ) ; } return $ taxTotal ; }
Get the Current Cart Tax Total

@return double $taxTotal
Get the Current Cart Tax Total