Redefined functions

26/10/2010

This page lists functions from Magento Core re-defined by the extension. It is possible that some other extension will try to re-define them as well leading to conflicts.

Class Mage_Sales_Model_Quote_Item

The class is redefined by ZetaPrints_WebToPrint_Model_Quote_Item class.

Redefined functions:

  • representProduct ($product) – If product has web-to-print features then return false to force creating new quote item in cart for personalized product.
  • compare ($item) – If quote item represents product with web-to-print features then do not allow merge items in checkout.

Class Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs

The class is redefined by ZetaPrints_WebToPrint_Block_Catalog_Product_Edit_Tabs class.

Redefined functions:

  • _prepareLayout () – Add “Web-to-print templates” tab on product configuration page.

Class Mage_Page_Block_Html_Footer

The class is redefined by ZetaPrints_WebToPrint_Block_Html_Footer class.

Redefined functions:

  • getCopyright () – Add version of web-to-print extension.
See also: