Created
July 21, 2015 08:43
-
-
Save mcjwsk/c4bda8e2cd0c58b03719 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$order = Mage::getModel('sales/order')->loadByIncrementId("increment_id"); | |
//shipping cost | |
$shippingCost = $order->getShippingAmount(); | |
//shipping cost in base currency | |
$shippingBaseCost = $order->getBaseShippingAmount(); | |
//shipping tax | |
$shippingTax = $order->getShippingTaxAmount(); | |
//shipping tax in base currenty | |
$shippingBaseTax = $order->getBaseShippingTaxAmount(); | |
//shipping cost including tax | |
$shippingCostIncludingTax = $order->getShippingInclTax(); | |
//shipping cost including tax in base currency | |
$shippingBaseCostIncludingTax = $order->getBaseShippingInclTax(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment