I am kinda stuck with this issue here. I am getting this error code in PHP:
PHP Fatal error: Call to undefined method Mage_Catalog_Model_Product_Type_Simple::getUsedProducts() in line 23...
Since I am kinda new to Magento I am wondering if somehow this code snippet I got might be wrong or so. Maybe you guys could take a look and let me know if it all seems right. I can't even
Here is the code snippet: https://ghostbin.com/paste/n9t23
Thanks in advance!