I'm trying to write the quoted returned values from the following carriers UPS, FedEx, and USPS.
I just need to write:
UPS ground
FedEx Ground
USPS Priority Mail
to the below tables I created in the orders database called:
shipping_rate_ups
shipping_rate_fedex
shipping_rate_usps
I updated the includes/classes/order.php and can write to the new tables using the following code:
'shipping_rate_ups' => $_SESSION['shipping']['cost'],
'shipping_rate_fedex' => $_SESSION['shipping']['cost'],
'shipping_rate_usps' => $_SESSION['shipping']['cost']);
I used the $_SESSION['shipping']['cost'] just to test the writing of the new tables which worked fine. Now I just need to grab the actual quoted returned values but I'm stuck and have no idea how to do it? Any help would be much appreciated!


Reply With Quote
