Magento: One Page Checkout Order Review

During Magento One Page Checkout, i used to display order details (subtotal, tax, shipping, grand total ) at Payment Information section. Use checkout session, to retrieve order data. //Order Totals $orderDetails = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Total object $subtotal = $orderDetails["subtotal"]->getValue(); //Subtotal value $shippingAmount = Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount() //Shipping Amount $taxAmount =Mage::helper('checkout')->getQuote()->getShippingAddress()->getData('tax_amount') //Tax Amount if(isset($orderDetails['discount']) && $orderDetails['discount']->getValue()) { $discount =... Continue Reading →

2018 7Design.Studio | Web Design, Web Application Development & UX Design | Chennai | India

Up ↑