Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM OroCRM – How do I? Questions Import product category from Magento

This topic contains 2 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 9 months ago.

  • Creator
    Topic
  • #29146

    mon
    Participant

    Hello,

    We are successfully sync order data from Magento to ORO. We have the information of the product purchased BUT also we need the category of the product.

    We wonder if there is any way to import the product category too

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29147
    Mike Kudelya
    Mike Kudelya
    Participant

    Hi

    At the moment orocrm doesn’t support product category import, but i have wrote example which allows you see category of quote item. Replace your app/code/community/Oro/Api/Model/Sales/Quote/Api.php with following code:

    Add to “<complexType name=”shoppingCartItemEntity”>” section of app/code/community/Oro/Api/etc/wsdl.xml file new categories element:

    After that clear magento cache. Add to orocrm ‘Magento Shopping Cart Item’ entity ‘categories’ text field, add your new field to grid and try to sync.

    #29148
    Mike Kudelya
    Mike Kudelya
    Participant

    Master branch of OroCRM Bridge Magento Extension already contains this feature.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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

Yes No
ssossossossossosso