To prevent taxes from being calculated until the user logs in, perform the following (This was done on a 3.5.x store):
Open include/func.php and FIND:
Code:
function func_calculate_taxes($products, $customer_info, $shipping_cost, $provider="") {
AFTER ADD:
Code:
global $current_area;
FIND:
Code:
$return = array("tax_cost" => 0,
"tax_gst" => 0,
"tax_pst" => 0);
AFTER PUT:
Code:
// WebsiteCM - Don't Show Taxes in the customer area unless we have a customer login
if ($current_area == "C" && $customer_info['login'] == "") { return $return; }