Hi Developers,
I found on the checkout page when selecting shipping methods the indicated cost is always 0.
I dig into the code and found the reason in template/tcp_template.php
function tcp_get_the_shipping_cost_to_show has a call to tcp_get_the_shipping_cost_without_tax on line 528. The parameter of it wrong, it is $costs instead of $cost.
So the line correctly should look like:
} else { //remove tax from cost
$cost_wo_tax = tcp_get_the_shipping_cost_without_tax( $cost );
return $cost_wo_tax;
}
TCP version: 1.1.9.2
Regards
sipiatti