Use the following code to get all ordered items on the Magento success page.
1 2 3 4 5 |
$order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); $items = $order->getAllItems(); foreach($items as $item) { //... } |
Getting order items on success page (success.phtml)
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!