Install-Extension-Magento-2-Clearly

Install Extension Magento 2 Clearly: A Step-by-Step Guide

Imagine spending an entire day scouring the internet for the perfect Magento 2 extension, only to face frustration when it fails to function post-installation. If you’ve found yourself in this predicament, fear not. You’re not alone. Many users turn to Google, typing in the desperate query: “How to install extension Magento 2 ?” That’s where our detailed instruction comes to your rescue.

In this tutorial, we guide you through the installation process and provide specific examples, including Magento 2 Extensions by BSS Commerce, the Marketplace extension, and a free module on GitHub.

open shopify store

How to install Magento extension from stores

In case you purchase or download extensions: for example, BSSCommerce, you will have to Magento 2 install extension manually from zip files.

Please follow 6 steps below:

  • Step 1: Unzip the file
  • Step 2: Create another directory called app/code/Bss/MODULENAME/ where MODULENAME must be replaced by the module’s internal identifier. You can find it in the “composer.json” file in the extension ZIP file you downloaded, look at the node “psr-4”. For example, it could say “Bss\\AjaxCart\\” or “Bss\\OneStepCheckout\\” there, then the modulename is the part after “\\” and before “\\”, so in our examples “AjaxCart” or “OneStepCheckout”. This is what you call the directory, then, for example, app/code/BSS/AjaxCart, and you put the contents of the extension ZIP file in there.
  • Step 3: Upload the directory app/code/Bss/MODULENAME/ into the root directory of your Magento installation. All directories should match the existing directory structure
  • Step 4: Go to the Magento 2 root directory. Run: php bin/magento setup: upgrade.
  • Step 5: Run: php bin/magento setup:static-content: deploy.
  • Step 6: Clear all Cache.

How to install Magento 2 extension from Marketplace

There are 3 ways to install Magento 2 extension from marketplace:

1. Install the Magento 2 module manually from the zip file

The first way to access the Magento 2 install extension from the marketplace is via a zip file. Please follow the 6-step installation as above.

2. Install extension Magento 2 via composer

Note:

  • It is required to install the composer first.
  • You must have your access key to install. Navigate to My Profile in Marketplace, then choose Access Keys in the My Products section.
Install-extension-Mageno2-via-composer

Then, you will get a public key and a private key to install Magento 2 extensions.

get-access-keys

Now, let’s navigate through the following 5 steps to install the Magento 2 extension via composer:

choose-version
  • Step 1: Find the extension you want to install and click Technical Details in My Purchase.
  • Step 2: Navigate to your Magento project directory and update your composer.json file.

composer require <component-name>:<version>EX: composer require bsscommerce/push-notification:1.0.0

  • Step 3: Run: php bin/magento setup: upgrade
  • Step 4: Run: php bin/magento setup:static-content: deploy.
  • Step 5: Clear all Cache.

3. Install via admin web setup wizard

Step 1: In the Magento 2 Admin Panel, navigate to System ⇒ Web Setup Wizard ⇒  Component Manager.

magento-2-install-extension

Step 2: Go to Review and Install.

Step 3: Then, in the list of components available, find the Magento 2 extension you want to install and press “Install.”

magento-2-install-extension-manager

Step 4: Start the Readiness Check.

If you see an error like that in the screenshot below, try to set up a Magento 2 cron job and resolve other issues first before proceeding.

magento-2-install-extesion-check

If you don’t encounter any errors when performing the step above, just hit ‘Next.’

Step 5: Create a Backup if necessary and then next.

Step 6: Finally, just hit ‘Enable’.

magento-2-how-to-install-extension-enable-min

How To Install Extensions in Magento 2 from GitHub

For those who do not know Github, this is one popular web-based Git version control system where you can find a well-code module available to download and install Magento extensions.

You can install the extension Magento 2 from GitHub in two ways:

1. Install the Magento 2 extension manually from the zip file 

Please follow the 6-step installation to install Magento 2 extension from stores.

2. Install extension Magento 2 via composer

Note: One more time, remember to install Composer in advance.

Here we take the BSS Commerce module on GitHub as an example.

  • Step 1: Find the extension you want to install and its name and version in the file composer.json of the extension.
magento-2-install-module-via-composer-min
  • Step 2: Navigate to your Magento project directory and update your composer.json file.

composer require <component-name>:<version>

Example: composer require bsscommerce/push-notification:1.0.0

  • Step 3: Run: php bin/magento setup: upgrade.
  • Step 4: Run: php bin/magento setup:static-content: deploy.
  • Step 5: Clear all Cache.

Final Thought

To sum it up, this step-by-step guide on Magento install extensions is like a map to help you through the sometimes tricky process of adding extra features to your Magento 2 online store.  As you start using this guide, may your Magento store become even more useful and be able to keep up with the changing needs of the online world. Happy exploring!

If you are looking for another guide to Disable or Uninstall Magento Extension. Read now:

BSS Commerce is one of the leading Magento extension providers and web development services in the world. With experienced and certified Magento developers, we commit to bringing high-quality products and services to optimize our business effectively. Get free Magento 2 extensions BSS Commerce offers now!

CONTACT NOW to let us know your problems. We are willing to support you every time.

NEW: We have launched Trello’s Product Roadmap to keep you updated on our latest product versions. Share your feedback and suggestions for Magento solutions to help us improve your experience here. With our Product Roadmap, you can also request updates or compatibility for your desired modules or suggest a new one to enhance your website.
>> Explore NOW!

eCommerce Marketer at | Posts

I'm Greene from BSS Commerce. I love researching and sharing you with useful information about Magento, Ecommerce, and Marketing, etc. Hope you enjoy!

Write A Comment

Name