I am facing very weird issue on my server while adding bundle product in the shopping cart.Whenever I am trying to add my bundle product, it gives me error like
Fatal error: Call to a member function getPosition() on a non-object in app/code/core/Mage/Bundle/Model/Product/Type.php on line 850.
While debugging in this file ,just find that first
magento set it bundle product option and then find its
position value .
magento set it option from this line
$optionsCollection->appendSelections($selections, false, $_appendAllSelections);
from this method.
protected function _prepareProduct(Varien_Object $buyRequest, $product, $processMode)
magento didn’t set it option[Not sure why this occur] and try to get `Position .
Can any one help me to sort out this weired issue ?