public get_total_ex_tax ( ) : string | ||
return | string | formatted price |
public function get_total_ex_tax()
{
$total = $this->total - $this->tax_total - $this->shipping_tax_total;
if ($total < 0) {
$total = 0;
}
return apply_filters('woocommerce_cart_total_ex_tax', wc_price($total));
}