ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 2 years, 5 months ago.

  • Creator
    Topic
  • #8521

    rajajitesh
    Participant

    I need to get lifetime sales value for customers that are coming through another integration aside from magento. I have got customers information like email,address and order details which includes order totals. Can you tell me where i should look for configuring lifetime sales value for my integration (orocrm bundle) ? It would be great if you can give a detailed explanation regarding this subject as the lifetime sales value is quite important aspect of oro crm customer view. It would quite helful if you can give some insight on this file oro/crm/src/OroCRM/Bundle/MagentoBundle/Resources/config/channel_configuration.yml
    Some help here would also be nice

    class Customer extends ExtendCustomer implements
    ChannelAwareInterface,
    CustomerIdentityInterface,
    RFMAwareInterface
    {
    use IntegrationEntityTrait, OriginTrait, ChannelEntityTrait, RFMAwareTrait;

    Thanks
    Raj

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #8523

    Alexandr Smaga
    Participant

    Hello @rajajitesh !

    Thank you for the question!
    For now it’s done in a simple way, calculation of “lifetime value” should be done in bundle that brings customer to the system. After that you can configure channel type to use this field from “customer identity“, OroCRMChannelBundle will track changes of this field and update sales lifetime value for related account. More about channel type configuration you can read in OroCRMChannelBundle README.
    If you will have any doubts feel free to ask them here.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.