How To Get Regular Price Of Magento Bundle Product

I would like to get the regular price of Magento bundle product without discount

You can use getSelectionsCollection to get all regular price of the options.

$pid = 1;

$p = Mage::getModel('catalog/product')->load($pid);

$_regularPrice = 0;  

$bcollection = $p->getTypeInstance(true)->getSelectionsCollection($p->getTypeInstance(true)
                ->getOptionsIds($p), $p);

foreach ($bcollection as $bitem) {
    $_regularPrice += $bitem->getPrice() ;
}
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments