Skip to content

Magento : Get Product Custom Options Data

it took me couple hours to figured this out,

here we go!!, mangstabhhh

 

$prod = Mage::getModel(‘catalog/product’)->load(1243);

foreach($prod->getOptions() as $kunci=>$nilai)
{
echo $nilai->getId().” | “.$nilai->getTitle().'<br>’;
}

 

Share