cancel
Showing results for 
Search instead for 
Did you mean: 

Rate Details

Rate Details

Is it possible to get the rate details for a quote? I am saving data when I get a custom rate in the sales_flat_quote_shipping_rate table. I see some of the data on the order object, but the field I need is not included. How can I get that from sales_flat_quote_shipping_rate table? Is there some way to add to the order object when get it by order id?

 

Thanks!

1 REPLY 1

Re: Rate Details

The rate details are stored in their own object with each quote line item. The rate details can only be pulled after they've been queried from the shipping api. Try something like this, and then check for your values again:


            $_quote->getShippingAddress()->setCollectShippingRates(true);
            $_quote->setTotalsCollectedFlag(false);
            $_quote->save();

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers