OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions Life time sales Config

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #25000


    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
    use IntegrationEntityTrait, OriginTrait, ChannelEntityTrait, RFMAwareTrait;


Viewing 1 replies (of 1 total)
  • Author
  • #25001

    Alexandr Smaga

    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)

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

Back to top

You will be redirected to [title]. Would you like to continue?

Yes No

You will be redirected to [title]. Would you like to continue?

Yes No