question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Magento2 data import doesn't take configuration from local.json

See original GitHub issue

Current behavior

Quote from the docs:

Magento2 data import is now integrated into vue-storefront-api for simplicity. It’s still managed by the mage2vuestorefront - added as a dependency to vue-storefront-api.

The problem is that you still need to customize the configuration file in mage2vuestorefront. Now located in: ~/vue-storefront-api/node_modules/mage2vuestorefront/src/config.js. The docs don’t mention this.

Expected behavior

IMHO, the configuration for mage2vuestorefront should be located in the config folder of the vue-storefront-api

Steps to reproduce the issue

  1. Install Vue storefront
  2. Connect to a Magento 2 instance
  3. Change elastic/host settings in vue-storefront-api/config/local.json. In my case i’ve changed the Elastic host.
  4. Run yarn mage2vs import
  5. Notice that the custom settings from step 3 aren’t used. Instead the config in this location is used ~/vue-storefront-api/node_modules/mage2vuestorefront/src/config.js

Repository

https://github.com/DivanteLtd/mage2vuestorefront

Can you handle fixing this bug by yourself?

No, we’re trying to finish a Vue Storefront project before the end of the year 😃

Additional information

Link to relevant the Vue storefront documentation

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
patzickcommented, Dec 13, 2018

PR is ready 😃

1reaction
pkarwcommented, Dec 11, 2018

You’re right, DATABSE_URL is currently missed in the mage2vs. Thanks! @patzick could You please fix this ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Import JSON Files to Magento 2 - Firebear Studio
To import JSON data to Magento 2, you need to: ... Configure a new import profile: ... To export JSON from Magento 2,...
Read more >
Guide for Import and Export for Magento 2 - Amasty
Upload a JSON file, provide the path to the created folder and specify an export file naming with or without data format. The...
Read more >
semaio/Magento2-ConfigImportExport: Import/Export ... - GitHub
This extension provides CLI commands for Magento 2 to import/export system configuration data. Why this extension? While Magento 2 offers the app:config:dump / ......
Read more >
Magento 2 Extensions:Stock Import Module
In your Magento 1 environment, simply go to Catalog > Stock Import > Tools and export your profiles and sources. Then, log into...
Read more >
Magento 2 Advanced Product Options User Guide - MageWorx
1) Copy the code (ready-to-paste package); 2) Use MageWorx Repository; 3) Use local Composer. Configuration¶. Before using the extension, we recommend to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found