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)
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.