【问题标题】:How to Customise Magento Enterprise Customer Segments?如何自定义 Magento Enterprise 客户细分?
【发布时间】:2011-03-11 09:23:08
【问题描述】:

我是吗

1) 覆盖所有 Enterprise/CustomerSegment

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

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

【问题讨论】:

    标签: enterprise magento segments


    【解决方案1】:

    解决方案是仅覆盖模型,并使用 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
    

    (这可能不需要被覆盖)

    【讨论】:

      猜你喜欢
      • 2012-07-04
      • 1970-01-01
      • 2015-06-25
      • 2023-03-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多