I was using the country to decide shipping rates but the client changed the rates so that I can't use it anymore. I now want to use the shipping method that the user would choose to calculate shipping. But I can't seem to make it work.
What am I doing wrong here?
$ship_go = $form_data{'Ecom_Ship'};
if ($ship_go eq "go")
{@sc_shipping_logic = (
"In Canada - Regular Post||||8.00",
"In Canada - Express Post||||18.00",
"Outside Canada - Regular Post|||12.00",
"Outside Canada - Express Post||||32.00");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
$ship_logic_done = "yes";}
_________________
crucibleinteractive