我们如何覆盖/重写企业类文件/类(对于Magento企业版)?
发布于 2011-04-29 10:24:53
这样啊,原来是这么回事。这类似于我们在Community Edition中对核心文件所做的操作。
只需查看任何企业核心模块的config.xml即可。他们把"enterprise“放在前面。
覆盖Enterprise_GiftRegistry块的示例代码:
<blocks>
<enterprise_giftregistry>
<rewrite>
<customer_list>MyNamespace_MyModule_Block_MyBlock</customer_list>
</rewrite>
</enterprise_giftregistry>
</blocks>谢谢。
https://stackoverflow.com/questions/5827070
复制相似问题