Install Magento 2 Extension

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

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:

  • You need to install Mageplaza_Core module along with your purchased modules.
  • 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 and Layered Navigation Ultimate .

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 Licenses.

Login form to Download the Package

Here are the screenshot of My Licenses page.

Download Magento 2 extension

Now click on extension version link to download the package.

Downloaded Magento 2 extension

Step 3: Download the Mageplaza_Core module from Github

You can either clone or download the module at this link: https://github.com/mageplaza/module-core

Download Mageplaza Core

Run the following command in Magento 2 root folder to install Mageplaza core.

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

Learn more how to install Mageplaza_Core here

Step 4: 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:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Final folder structure in your magento root: Mageplaza folder

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.

IMPORTANT NOTE: The solution presented below is only applied for free extensions. Now, you can install Mageplaza paid extensions via composer too. To read the full instruction, plesae follow this guide: HOW TO INSTALL MAGENTO EXTENSIONS VIA COMPOSER.

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:di:compile
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:di:compile
php bin/magento setup:static-content:deploy

Better Popup

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

SMTP

composer require mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:di:compile
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:di:compile
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:di:compile
php bin/magento setup:static-content:deploy

GDPR

composer require mageplaza/module-gdpr
php bin/magento setup:upgrade
php bin/magento setup:di:compile
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:di:compile
php bin/magento setup:static-content:deploy
composer require mageplaza/layered-navigation-m2
php bin/magento setup:upgrade
php bin/magento setup:di:compile
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.

Explore more extension to install: For Administration / Checkout Modules / Promotions extension / B2B Modules / Navigation extensions / Product Enchancements / Sales Motivation / Content Management / User Experience / Order Management / SEO Suite / Shipping & Payment

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

Explore Our Products:

People also searched for

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up