We were working on a project where we needed to upgrade a Magento store along with plugins.
We came on the stage where we were working on the composer command.
For those who are not aware with the role of composer command, let us share that in magento 2 you have to use composer command to update the version of Magento system and plugins.
While working on the same we faced an issue.
Some plugin repositories were not getting cloned.
For example:
1 |
medialounge_repo/magento2-share-my-basket.git |
To solve the problem, we removed below line from composer.json:
1 |
git@bitbucket.org:medialounge_repo/magento2-share-my-basket.git |
Then we removed magento-2-share-my-basket section from repositories,
From:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
"repositories": { "0": { "type": "composer", "url": "https://repo.magento.com/" }, "magento-2-share-my-basket": { "type": "vcs", "url": "git@bitbucket.org:medialounge_repo/magento2-share-my-basket.git" }, "xtento": { "type": "composer", "url": "https://repo.xtento.com" } } |
Replace:
1 2 3 4 5 6 7 8 9 10 |
"repositories": { "0": { "type": "composer", "url": "https://repo.magento.com/" }, "xtento": { "type": "composer", "url": "https://repo.xtento.com" } } |
Things worked for us when we chose this as solution.
If you ever face such problem then you can use this trick. We’re sure this Magento hack will work for you.
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-62838fc0ed605530819663/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...