Magento 2 provides a convenient way how to manually install module via composer. But how to install Magento extension from zip file if you got it from the provider with the basic codebase? In this case, you need to install it to your store, without using Magento Connect manager. Let’s discover how to do it with the following installation guide for beginners.
Just follow these simple steps to perform extension installation in Magento 2 easily
When you wonder how to add the extension in Magento 2 firstly you should copy it’s code to the required directory:
The left panel shows here the basic listing of the zip-file with a module.
The right panel — Magento 2 codebase.
Current zip-file contains User_Guide.pdf file and the Install directory. Basically, the Install folder content should be copied to the app/code/ directory.
After that, we can use 2 different methods to initialize the module in a store.
This method requires Cron tasks set up and proper running. In case it has not performed yet — do it. You will need it further, not only while extensions installing.
So if Cron is set up correctly, just follow the path in admin panel to initialize the module:
System/ Web Setup Wizard/ Component Manager
Here you can enable all available modules.
In case Magento is set up properly you’ll see the notification that all of the systems run correctly.
Further, before you enable the custom module in Magento 2, Backup creation will be proposed.
And finally we will see the following screen:
The module has been enabled. And now we can switch back to the module list and enable (install) the next one.
Method #2, in my opinion, is more accessible for website administrators. This method requires access to the server bash shell. Magento Cli provides a large number of useful console commands to manage the store. And you can get the list of these commands by running: php bin/magento.
But now we need to use only one:
php bin/magento setup:upgrade
This command checks all of the modules and launches schema installation or updating process (if necessary). So you just need one command to perform updating and installation of all modules.
Mishel Soiko is an eCommerce expert, working with Magento since 2009. The area of his expertise is complex web applications and internal information systems development, e-commerce solutions (Magento, Prestashop), back-end development, integration with 3rd party API/Services, custom modules creation. Besides, Mike has mastered LAMP platform, AJAX, JS, jQuery, Zend Framework, SOAP and MVC.
Boo! Trick or treat? Scared yet?! Not so much? Well, you should be – Halloween’s coming! While preparing yourself for a very special holiday, sharpening the knives for pumpkin carving and redesigning used duds, make sure your store looks all spooky and cool.
With Magento Halloween Promotions Free you can enhance your eShop with a nice Halloween feature, giving it a scary, All Hallows’ Eve look and allowing promoting any products, both Halloween-related and not. The extension is totally free!