Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 930 Bytes

File metadata and controls

34 lines (28 loc) · 930 Bytes

Magento 2

Table of Contents

How to Enable Magento 2 Integration

By default, Magento 2 integration channel is disabled.

To enable it, create a channels.yml file in Resource\config\oro in a custom bundle with the following data:

channels:
   channel_types:
        magento2:
            label: oro.magento.channel_type.magento2.label
            entities:
                - Oro\Bundle\MagentoBundle\Entity\Website
            integration_type: magento2
            customer_identity: Oro\Bundle\ChannelBundle\Entity\CustomerIdentity

And register following service in services.yml

oro_magento.provider.magento2_channel_type:
    class: Oro\Bundle\MagentoBundle\Provider\Magento2ChannelType
    tags:
        - { name: oro_integration.channel, type: magento2 }