Tuesday, August 14, 2012

Magento Get flatrate_shipping_subtotal, free_shipping_subtotal and flatrate_price/ Shipping Price



Get the flat rate and shipping subtotal price in Magento pages.

$flatrateShippingSubtotal = Mage::getStoreConfig('carriers/flatrate/flatrate_shipping_subtotal');$freeShippingSubtotal = Mage::getStoreConfig('carriers/freeshipping/free_shipping_subtotal');$shippingCharges = Mage::getStoreConfig('carriers/flatrate/price');