Skip to main content
mostly grammatical changes
Source Link
davidalger
  • 7.3k
  • 1
  • 30
  • 47

The constant OPTION_PREFIX is declared as a constant on the Mage_Catalog_Model_Product_Type_Abstract class in CE 1.7 and newer. Based on the results of searching with ack OPTION_PREFIX on the CLI, the term does not exist nor is referenced in older versions of Magento.

Would I be correct to surmise that your installation used to be running an older version of Magento and has been upgraded to CE 1.7?

My suggestion would be to verify that the constant is declareddefined in the class Mage_Catalog_Model_Product_Type_Abstractdeclaration found in app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php. Assuming it is, I would go looking for a copy of that class that is overriding the core file, like say, a file in the local code pool which overrides the core class declaration with a copy of the class from an older version of Magento.

The constant OPTION_PREFIX is declared as a constant on the Mage_Catalog_Model_Product_Type_Abstract class in CE 1.7 and newer. Based on the results of searching with ack OPTION_PREFIX on the CLI, the term does not exist nor is referenced in older versions of Magento.

Would I be correct to surmise that your installation used to be running an older version of Magento and has been upgraded to CE 1.7?

My suggestion would be to verify that the constant is declared in the class Mage_Catalog_Model_Product_Type_Abstract in app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php. Assuming it is, I would go looking for a copy of that class that is overriding the core file, like say, a file in the local code pool which overrides the core class declaration with a copy of the class from an older version of Magento.

The constant OPTION_PREFIX is declared on the Mage_Catalog_Model_Product_Type_Abstract class in CE 1.7 and newer. Based on the results of searching with ack OPTION_PREFIX on the CLI, the term does not exist nor is referenced in older versions of Magento.

Would I be correct to surmise that your installation used to be running an older version of Magento and has been upgraded to CE 1.7?

My suggestion would be to verify that the constant is defined in the class declaration found in app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php. Assuming it is, I would go looking for a copy of that class that is overriding the core file, like say, a file in the local code pool which overrides the core class declaration with a copy of the class from an older version of Magento.

Source Link
davidalger
  • 7.3k
  • 1
  • 30
  • 47

The constant OPTION_PREFIX is declared as a constant on the Mage_Catalog_Model_Product_Type_Abstract class in CE 1.7 and newer. Based on the results of searching with ack OPTION_PREFIX on the CLI, the term does not exist nor is referenced in older versions of Magento.

Would I be correct to surmise that your installation used to be running an older version of Magento and has been upgraded to CE 1.7?

My suggestion would be to verify that the constant is declared in the class Mage_Catalog_Model_Product_Type_Abstract in app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php. Assuming it is, I would go looking for a copy of that class that is overriding the core file, like say, a file in the local code pool which overrides the core class declaration with a copy of the class from an older version of Magento.