0

难道我

1) 覆盖所有 Enterprise/CustomerSegment

然后插入我需要为模型添加我自己的条件和类以构建数据库查询的类

2) 1) 看起来很笨重,我如何将我的新条件类添加到本地文件夹中?

4

1 回答 1

0

解决方案是仅覆盖模型,并使用 Enterprise_CustomerSegment 模块保留块控制器。

需要这些文件来更新 CustomerSegment 模块以添加常规订单报告:

CustomModule/CustomerSegment/etc/config.xml (与所有模型的)

CustomModule/CustomerSegment/Model/Condition/Combine/Abstract.php  

(这可能不需要被覆盖)

CustomModule/CustomerSegment/Model/Segment/Condition/Combine/Root.php

CustomModule/CustomerSegment/Model/Segment/Condition/Standingorder/Frequency.php

CustomModule/CustomerSegment/Model/Segment/Condition/Combine.php

CustomModule/CustomerSegment/Model/Segment/Condition/Standingorder.php

CustomModule/CustomerSegment/Model/Segment.php

(这可能不需要被覆盖)

于 2011-03-15T13:28:37.560 回答