Using the following code, you can get the custom options from a Magento order item:
1 2 3 4 5 6 7 |
$items = $order->getAllItems(); foreach ($items as $item) { $options = $item->getProductOptions(); $options = $options['options']; $optionLabel = $option['label']; // ... } |
Getting custom options of an order item
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!