Magento, OpenCart, Joomla, wordpress, PHPBB, Core PHP, jQuery, Javascript professional elancer.
Home » Magento » Accessing custom options of an order in Magento via PHP
Accessing custom options of an order in Magento via PHP
$order = Mage::getModel('sales/order')->load(id); $items = $order->getAllItems();
foreach ($items as $itemId => $item){
$opts = $item->getProductOptions(); }
$opts = $item->getProductOptions();
}
Post a Comment
No comments:
Post a Comment