Using the folowing code you can get the custom options of the ordered items on the Magento success page.
|
1 2 3 4 5 6 7 8 9 10 |
$order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); $items = $order->getAllItems(); foreach($items as $item) { $options = $item->getProductOptions(); foreach ($options['options'] as $itemOption) { $optionTitle = $itemOption['title']; $optionValue = $itemOption['value']; //... } } |
Getting custom options of ordered 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.