Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Getting shipping amount before placing the order
 
Vna_a
Jr. Member
 
Total Posts:  16
Joined:  2011-12-19
 

Hi
I want to get shipping amount in checkout page(Order Review). And also how to get shipping amount based on order ids.
How to get these.
Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
shaynemclaugh
Jr. Member
 
Total Posts:  4
Joined:  2012-05-08
 

I am looking for the same answer. I am expecting someone will post the ANSWER to this Thread so We both can solve our problems.

Shayne

 
Magento Community Magento Community
Magento Community
Magento Community
 
Vna_a
Jr. Member
 
Total Posts:  16
Joined:  2011-12-19
 

Hi
I using this code for getting shipping amount.

$quote=Mage::getModel(’checkout/session’)->getQuote();
$shippingMethod = $quote->getShippingAddress();
$cost_amount=$shippingMethod[’shipping_amount’];

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiragit007
Jr. Member
 
Total Posts:  1
Joined:  2012-07-16
 

You can use this code in order to fetch shipping amount :

$shipping = Mage::helper(’checkout’)->getQuote()->getShippingAddress()->getShipping_amount();

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top