Shopping cart

Install Magento 2 Extension

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 Magento 2 extensions from Mageplaza:

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 Magento 2 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 log in (User/Password or Social accounts) before accessing the My Downloadable Products.

Login form to Download the Package

Here are the screenshot of My Downloadable Products page.

Download Magento 2 extension

Now click on extension version link to download the package.

Downloaded Magento 2 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 the 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 is only applied for free extensions.

Run the following command in Magento 2 root folder:

Blog

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

You may get this message: Install Magento 2 extensions from Marketplace

=> Go to Access Keys page and Create A New Access Key.

Or use this keys:

Public Key: c7af1bfc9352e9c986637eec85ed53af
Private Key: 17e1b72ea5f0b23e9dbfb1f68dc12b53

Other free extensions to install

SEO Standard

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

GDPR

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

Better Popup

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

SMTP

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

Social Login

composer require mageplaza/magento-2-social-login
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Product Slider

composer require mageplaza/magento-2-product-slider
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Now get the way 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 Install Magento 2 extensions from Marketplace

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 for download Magento 2 extensions

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.

We recommend:

Please leave comments if you have any questions, feedbacks.

Comments for

You also may like these Magento 2 Extensions

One Step Checkout

$199
111 reviews

Layered Navigation

$99
59 reviews

Gift Card

$199
6 reviews

Reward Points

$99
4 reviews

Affiliate

$149
12 reviews

Shop By Brand

$99
16 reviews