Help Center

Import: Magento 2.x - Importing your products from Magento 2.x

Sarah Bacchus
Sarah Bacchus
  • Updated

This integration allows you to continue managing your product data on your Magento store while GoDataFeed automatically retrieves the latest changes on a daily basis.

Please note that we do support order sync for Magento 2 at this time.

 

Step 1: Get the latest version of our GoDataFeed extension from Magento Marketplace

GoDataFeed is compatible with all Community and Enterprise versions of Magento 2.x.

 

Step 2: Follow our instructions in GitHub to install and configure our extension

GoDataFeed is compatible with all Community and Enterprise versions of Magento 2.x.

Step 3: Configure primary import settings in GoDataFeed

In GoDataFeed > Import > Primary Source > select Magento 2.x

  • Store ID: The number in your Magento store for this store view under Manage Stores.

    To find your Store ID in Magento 2:

    1. In your Magento 2 admin
    2. Go to Stores > All Stores
    3. Click on the Store View name of the desired store
    4. Once the store view is loaded, you can find the "store_id" portion of the browser URL
    5. The number after the "store_id/" part of the URL is your Store ID
    6. Enter this Store ID into GoDataFeed primary source settings to ensure we import products associated with this store view.

    2021-04-01_13_19_06-Stores___Settings___Stores___Magento_Admin.png

  • Base URL:
    • This is the URL that is used to access your Magento API endpoint.
    • This is sometimes the same as your Magento Login URL.
    • If you are unsure about your Magento API base URL, please consult your Magento Administrator.
  • Consumer key: Your Magento store's unique REST identifier. It can be found in your Magento dashboard in System > Extensions > Integrations.
  • Consumer secret: The secret key used to access your Magento REST. It can be found in your Magento dashboard in System > Extensions > Integrations.
  • Access token key: Enter OAuth token here
  • Access token secret: Enter OAuth access secret here
  • Product Types: filter by simple, configurable, grouped, virtual, bundle, and downloadable products

 

Step 4: Enable bearer token authentication for Magento version 2.4.4 and greater

Magento has deprecated the way we authenticate beginning on version 2.4.4. You must now enable the setting "Allow OAuth Access Tokens" to be used as standalone Bearer tokens" in Magento.


image.png

 

Also, please set the Bearer token authentication type in GoDataFeed
mceclip0.png

Step 5: Save - now you may import your products

 

Troubleshooting

Given the complexity of this configuration, it is common to find issues. There are a lot of moving parts, so don't get yourself down if you find import failures from Magento.

If you are having issues importing your products from Magento into GoDataFeed, then please try these steps. If you are still having issues, then please don't hesitate to contact us for assistance.

 

1. Confirm the latest GoDataFeed Magento extension version was installed

First, confirm you are using the latest version of our extension.

We recommend installing the latest version of our extension, at least Release v2.0.13 or newer. This version of our extension (2.0.13) handles almost all of the common issues with importing data from Magento.

Second, was it installed on the Magento instance? See our instructions to install our extension in Magento.

 

2. Confirm import settings in GoDataFeed are correct

Next, please confirm the base URL and store id in the import settings are correct.

  • Base URL:
    • This is the URL that is used to access your Magento API endpoint.
    • This is sometimes the same as your Magento Login URL.
    • If you are unsure about your Magento API base URL, please consult your Magento Administrator.
  • Store ID: The number in your Magento store for this store view under Manage Stores.

    To find your Store ID in Magento 2:

    1. In your Magento 2 admin
    2. Go to Stores > All Stores
    3. Click on the Store View name of the desired store
    4. Once the store view is loaded, you can find the "store_id" portion of the browser URL
    5. The number after the "store_id/" part of the URL is your Store ID
    6. Enter this Store ID into GoDataFeed primary source settings to ensure we import products associated with this store view.

 

3. Try lowering the batch count import setting in GoDataFeed

Our primary import source settings have the option to adjust "Batch Count" to lower the page size of our Magento API requests. This refers to the page size of each API request for product data.  Adjusting batch count may allow our API requests to be successful, thus allowing the import to work. This includes problems such as rate-limiting, resource limits on your servers, and invalid product data.

Additionally, if you set batch count to 20 or lower for your Magento 2 import, then we introduce extra logic to request one product at a time in the event our API requests start failing. We then skip any bad records and list them in our exception logs. Please contact us if you would like to request a list of skipped records in this scenario.

Learn more about Batch Count.

 

4. Check if proxy server settings are intervening with API requests on the Magento instance

If you still have issues, please consider possible issues with proxy servers with the information found in these articles:

 

5. Contact Us - the GoDataFeed technical support team is here to help!

Lastly, If you are using at least Release v2.0.13 or newer of the GoDataFeed Magento extension and you are still having issues, then please contact us for assistance. Let us know what you've tried so far and we will escalate the issue to our technical team to help resolve it. Most of the time we can figure it out after a few email exchanges, but sometimes jumping on a quick Zoom call helps too.

Alternatively, you may consider creating a scheduled job to export your product data to a CSV, TXT, or XML file that you can upload to our free FTP or host the file on your servers. Some merchants like this option better than the extension because it provides more control and it's typically faster with less complexity. Learn more here: Import via FTP or HTTP link

Was this article helpful?

4 out of 9 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.