Magento 2 Tutorials

How to Install Magento Extension

install magento extensions

To make your e-commerce store easier to manage, you must ensure to provide and smooth experience to your online customers. To make it possible, adding helpful extensions to your store is a must! Extensions help you to extend the functionality and add value to your online store. Every store owner has different requirements for modifying an online store, and to achieve them, extensions can fittingly work well.

Magento is one of the leading e-commerce platforms in the world today. It has tons of awesome extensions that allow owners to enhance the experience of their online store.

See: The 10 Important Aspects of Building an Ecommerce Store with Magento 2

However, many people face a problem when it comes to Magento extension installation. In this guide, you will learn how to install Magento extension.  I will show you Magento extension installation for both 1.x and 2.x versions. There are multiple ways to install Magento extension, so  I will cover each one by one.

Install Magento Extension
Magento 1.xMagento 2.x
Via Magento Connect ManagerUpload via FTP
Upload via FTPVia Command Line

 

Install Magento Extension Method 1: via Magento Connect Manager

Before you start with Magento extension installation, verify that the Magento compilation is disabled. To ensure this, navigate to System → Tools → Compilations from the admin panel of your Magento store:

 system-compliation

Now navigate to System → Magento Connect Manager:

click on Magento connect manager

Then re-enter the administration login credentials:

login magento connect manager m1

Now, you must paste the key which you have got after buying your extension, and click Install button.

install key m1


Install Magento Extension Method 2: Upload via FTP

Upon downloading your selected extension, you will get a zip file. Unzip the file and upload the extension into the root directory of your Magento store.

Note: This will not override the files in your root directory. It will just add the new files and folders to the existing directories. After following any of the methods to install Magento extension, you need to refresh the cache of your store.

Go to System → Cache Management from the top bar of your store’s admin panel.

system-cache install magento extension

Select Refresh from the Actions drop-down to clear it. Click on the Submit button:

submit cache magento 1

You have learned two ways to install Magento extension. Now let’s move to the process for Magento 2.x!

Install Magento 2 Extension Method 1: Upload via FTP

Connect your Magento 2 store with FTP like FileZilla. Download your selected Magento 2 extension and unzip it. Upload it to the root directory of your Magento 2 store.

Install Magento 2 Extension Method 2: via Command Line

Another method to install Magento 2 extensions is via command line. Extension providers also provide a command to directly install Magento extension in your store.

Connect your Magento 2 store with SSH terminal, and go to the root directory of your Magento 2 store. Run the Magento extension installation command:

composer require vendor/module-core

After following any of the methods of your choice to install Magento 2 extension, you need to run the following commands in the root directory of your store.

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

That’s it! You have now learned two other ways to install Magento 2 extension.

Final Words

Giving your customers more options for buying products on your store can ultimately boost the sales and conversions of your online store, and extensions provide a great way to make it possible.

I have shown you different Magento extension installation methods for both 1.x and 2.x versions via FTP, via connect manager and via command line. After installing the extension by using any of your selected method, you just have to configure it from your store’s admin panel.

I believe you can now easily install Magento extension to optimize your online store.

If you’re still facing any issue or want to discuss anything related to this tutorial, just leave your comment below and I will get back to you!

Frequently Asked Questions

Q1. Is it possible to install Magento extension without connect manager?

Yes, its possible to install Magento extension without using connect manager. You can also download you selected extension which you can add directly to your store.

Q2. How to install Magento Extension manually?

To install Magento extension manually, you first have to download the extension (zip file). Just unzip it and upload it to the root directory of your store.

Q3. How to install Magento extension from the marketplace?

You can easily install Magento extension from the marketplace just by adding the key in the connect manager of your store.

Q4. How to Install Magento 2 Extension using composer?

To install Magento 2 extension using composer you have to first connect your store with SSH terminal. After that, you must run the command provided by the extension provider.

 

Subscribe Newsletter

Subscribe to get latest Magento news

40% Off for 4 Months on Magento Hosting + 30 Free Migration