0

Normal Proc:

We configure the UPS/FedEx... etc credentials and other api details in Magento Admin Panel.

In cart/checkout page, Magento shows the shipping rates based on configured account details.

If I want to change/show the third party account rates, I will show the custom fields in cart/checkout page based on these credentials, as well as the shipping rates.

If a customer enters values for those custom fields, how can I pass those credentials and get the associated shipping rates.

I mean, which method I should rewrite? Or should I write a new method?

Thanks in advance.

4
  • So do you mean you want to over ride the calculations of UPS/FEDEX? – TBI Infotech Jun 2 '14 at 13:21
  • @user6451, No, Actually shipping rates are based on account number? right. So I just know where magento get the credentials from config for getting shipping rates. – Manoj Kumar Jun 2 '14 at 13:37
  • @user6451, from requestShippingRates() method also just passing country,item details there is no credentials/account details are getting to get the shipping rates. – Manoj Kumar Jun 2 '14 at 13:42
  • This link may help you magentocommerce.com/wiki/3_-_store_setup_and_management/… – TBI Infotech Jun 2 '14 at 13:45
1

I am not sure, but i think you want to know the database table where ups details are stored:

In the table sales_flat_shipment_track order_id : this is a key value which matches order_id in sales_flat_shipment_grid and parent_id in sales_flat_order_address and entity_id in sales_flat_order number : UPS tracking number

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.