Magento2 data import doesn't take configuration from local.json
See original GitHub issueCurrent 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
- Install Vue storefront
- Connect to a Magento 2 instance
- Change elastic/host settings in vue-storefront-api/config/local.json. In my case i’ve changed the Elastic host.
- Run
yarn mage2vs import
- 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR is ready 😃
You’re right, DATABSE_URL is currently missed in the
mage2vs
. Thanks! @patzick could You please fix this ?