Install Magento 2 Extension

In this topic, we will discuss about How to Install Magento 2 extensions, specially Install Mageplaza Extensions. There are 3 different solutions to install Mageplaza extensions:

  1. Ready to paste solution
  2. Install via Composer
  3. Install via Magento Marketplace

Important:

  • We recommend you to duplicate your live store on a staging/test site and try installation on it in advance
  • Backup magento files and the store database

It’s very important to backup all of themes and extensions in Magento before installation, especially when you are working on a live server. We strongly recommend you to do not omit this step.

To Install Magento 2 Extension by Mageplaza:

Select a solution based on downloaded package:

Ready to paste

Download from Mageplaza

Composer

Download from packagist automatically.
Free extensions

Solution #1: Ready to paste

1.1 Step 1: Download SFTP clients

Download SFTP clients, we recommend clients: FileZilla, WinSCP. In this case, we are using WinSCP to install Mageplaza One Step Checkout extension.

Step 2: Download the Package

After purchasing order from Mageplaza, go to My Downloadable Products page to download the One Step Checkout package. You have to login (User/Password or Social accounts) before accessing the My Downloadable Products.

login form

Here are the screenshot of My Downloadable Products page.

download extension

Now click on extension version link to download the package.

downloaded extension

Step 3: Upload files to server

Let’s extract the package and connect to your server using SFTP Clients above. Then upload files, folders to your server, see this video:

upload magento 2 extension

Upload the app folder to Magento 2 root folder.

Step 4: Run command line

To complete the installation process, we need to run the following command lines:

composer require mageplaza/module-core
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

If you got error: Mageplaza_Core has been already defined, read this solution

Step 5: Check result

Now time to check result in frontend.

If you get any issues, check FAQs. If you still get stuck, get support at Mageplaza Helpdesk

Solution #2: Composer

In this guide, we will show you how to install Mageplaza Blog extension one of the best-seller extensions at Mageplaza. Note that: this solution only apply for free extensions.

Run the following command in Magento 2 root folder

composer require mageplaza/magento-2-blog-extension
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Now got to your website and check result. If you get any issues, check FAQs. If you still get stuck, get support at Mageplaza Helpdesk

Find more Free extensions at Mageplaza on Github

Solution #3: Marketplace.magento.com

To generate Public/Private Key pair please see here ask username

composer require mageplaza/magento-2-one-step-checkout-extension
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
composer require mageplaza/layered-navigation-m2
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Now got to your website and check result. If you get any issues, check FAQs. If you still get stuck, get support at Mageplaza Helpdesk

FAQs

Q: I got error: Could not read /home/magento/.composer/auth.json

error

Answer: Let run sudo chmod 777 /home/magento/.composer/auth.json make sure the file is writable.

Q: Magento asks me enter Username and password

ask username Answer: Go to Access Keys page and Create A New Access Key magento 2 access key

Now enter the Access key name: We type Mageplaza Store

mageplaza store

We get Public key (Username), and Private Key (Password)

public and private key

That’s it.

It comes to the end of tutorial: Install Magento 2 Extension.

Please leave comments if you have any questions, feedbacks.

Comments for

You also may like these Magento 2 Extensions

One Step Checkout

$199
27 reviews

Layered Navigation

$99
15 reviews

SEO

FREE
14 reviews

Shop By Brand

$99
4 reviews