OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Import products

This topic contains 6 replies, has 2 voices, and was last updated by  dandries 7 years, 1 month ago.

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

  • Creator
    Topic
  • #31439

    Tyler
    Participant

    Hi !

    I got a problem when I try to import product from cli.
    I had run the clank server and message queue.

    So when I import my csv file from web interface, my products are sucessfully imported, but when I try from cli, the job got status success but my products are not in products list.

    However, I got some PHP warning because of sprintf

    It seem the code miss some parameters.

    I made the test in my local machine and on the virtual machine downloaded on https://oroinc.com/b2b-ecommerce/download.

    Maybe I have to create some issue on oroplatform/orocommerce or some people got the solution ?

    Thx for answers.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #31440

    dandries
    Participant

    Hi Tyler,

    Can you please tell me which version of the virtual machine have you downloaded and used? Latest orocommerce stable, or development?

    I’ve tried on a latest development version, on my local machine (not with virtual) and the operation works with this command:

    #31441

    Tyler
    Participant

    Hi Dandries,

    Thx for answer.

    Yes I’m using orocommerce 1.0 stable and I had only one choice for the VM.

    I dont use this command because she is not in my app/console list

    app/console oro:import:file ~/oro_product_product_2017_02_23_16_06_45_58aeec75772d8.csv

    So I use

    I got this exactly this packages :

    #31442

    dandries
    Participant

    Hei Tyler,

    I’ve tried also on a first stable 1.0.0 version, and indeed it is bug there.
    In newer versions though, this problem is fixed.

    Let me know if there’s anything else I can help with.

    #31443

    Tyler
    Participant

    Ok, thanks, I’m waiting for the next version.

    #31444

    Tyler
    Participant

    @dandries, So maybe you can help me for the API :
    I’m trying to POST a product, I generate my wsse header but I dont know the expected content json data to the API. The sandbox is not avaible in POST.

    Can you help me on this point ?

    #31445

    dandries
    Participant

    Hi,

    There is a blog post for the new oro API: https://www.orocrm.com/blog/product-updates/new-oro-web-api-now-available .
    Also, there is the documentation of the API bundle which can help https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/ApiBundle/Resources/doc/index.md.

    For using the WSSE header, there is a documentation article: https://www.orocrm.com/documentation/current/cookbook/how-to-use-wsse-authentication .

    Another resource can be found in the application at this route : http://[your_application_base_url]admin/api/doc/rest_json_api . Here you can find the REST api for a lot of entities, including Product, and you can see and test them.

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

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top