1

actually i want to show shipping cost, gift wrap cost, and order total amount in checkout success page, found that success.phtml file, but not sure to type the code, anyone experience with it ?

currentlly just found the subtotal

<?php echo Mage::helper("core")->currency($order_details->subtotal) ?>

Thanks

1

You may get the details by the following,

    $orderSubTotal = $order_details->subtotal;
    $shipping_amount = $order_details->shipping_amount;
    $gift_cards_amount = $order_details->gift_cards_amount;
    $grand_total = $order_details->grand_total;

here $order_details as below,

$order_details = Mage::getModel('sales/order')->loadByIncrementId($orderid);
  • Hi, thanks, it all works except the gift cards amount @Helphin – user3496281 Apr 7 '14 at 4:06

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.