I'm working on an heavy customised magento version. Cancelling an order returned this fatal error:
Mage_Catalog_Model_Product_TYPE not found
on this line code:
if($parent->getTypeId() == Mage_Catalog_Model_Product_TYPE::TYPE_CONFIGURABLE)
I fixed changing it to
if($parent->getTypeId() == 'configurable')
Can you please tell me what's the difference between them and if my solution can lead to other issues? many thanks