Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <config>
- <modules>
- <HEKA_Catalog>
- <active>true</active>
- <codePool>local</codePool>
- </HEKA_Catalog>
- </modules>
- </config>
- <?xml version="1.0"?>
- <config>
- <modules>
- <HEKA_Catalog>
- <version>1.0</version>
- </HEKA_Catalog>
- </modules>
- <global>
- <models>
- <catalog>
- <rewrite>
- <product>HEKA_Catalog_Model_Product</product>
- </rewrite>
- </catalog>
- </models>
- </global>
- </config>
- <?php
- class HEKA_Catalog_Model_Product extends Mage_Catalog_Model_Product
- {
- function getDescription(){
- $processor = Mage::getModel('core/email_template_filter');
- $html = $processor->filter($this->getData('description'));
- return $html;
- }
- }
Add Comment
Please, Sign In to add comment