开发者

Magento: How can we override Enterprise files (Enterprise Edition)?

开发者 https://www.devze.com 2023-03-01 16:31 出处:网络
How can we overrid开发者_StackOverflowe/rewrite Enterprise class files/class (for Enterprise Edition of Magento)?I got it. It\'s similar to what we do with core files in Community Edition.

How can we overrid开发者_StackOverflowe/rewrite Enterprise class files/class (for Enterprise Edition of Magento)?


I got it. It's similar to what we do with core files in Community Edition.

Just need to see the config.xml of any Enterprise core modules. They put "enterprise" in front.

Sample code to override Enterprise_GiftRegistry Block:-

<blocks>    
    <enterprise_giftregistry>
        <rewrite>
               <customer_list>MyNamespace_MyModule_Block_MyBlock</customer_list>
        </rewrite>
    </enterprise_giftregistry>
</blocks>

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消