{"id":1132,"date":"2020-07-21T05:31:56","date_gmt":"2020-07-21T05:31:56","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/07\/21\/install-magento-2-extension\/"},"modified":"2025-05-26T17:13:49","modified_gmt":"2025-05-26T11:43:49","slug":"install-magento-2-extension","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/install-magento-2-extension\/","title":{"rendered":"How to Install Magento 2 Extension"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Magento, by&nbsp;<a href=\"https:\/\/www.adobe.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Adobe<\/a>, is an open-source e-commerce platform that is developed in PHP. The CMS is a powerful platform to build E-commerce stores that are capable of standing out amongst the competitors in today\u2019s market.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are some of the interesting&nbsp;<a href=\"https:\/\/trends.builtwith.com\/shop\/Magento\" target=\"_blank\" rel=\"noreferrer noopener\">stats<\/a>&nbsp;about Magento that shows how popular the platform is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>There are more than 75k sites in the US alone that are built using Magento<\/li>\n\n\n\n<li>Magento stands in the top 5 technologies to build an E-commerce store<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As feature-rich and powerful the Magento CMS is, the platform lacks certain functionalities owing to the different types and requirements of the modern businesses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the main benefit of Magento is its insane customization capabilities. There are so many&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 extensions<\/a>&nbsp;available in the market that you can install in the Magento 2 store to extend the default functionality.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By installing the Magento 2 extensions, the merchants can offer additional benefits to customers. The post is all about Magento extensions and how to&nbsp;install Magento 2 extension. Read further for the stepwise Magento 2 extension installation method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Magento 2 Extension?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An extension is a software that can be added to a Magento 2 website. It includes PHP code, functions, etc. and this code is installed in a Magento 2 store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magento 2 developers develop an extension to extend the default functionality, implement new functionality, solve a problem, or integrate third-party software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magento 2 extensions can be used in various areas of e-commerce such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-accounting-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Accounting and finance<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-administration-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Administration<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-checkout-enhancements-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Checkout enhancements<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-customer-support-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Customer support<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-payments-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Payments<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-promotions-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Promotions<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-promotions-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Security &amp; Performance<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-shipping-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">Shipping<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/magento-2-user-experience-extensions.html\" target=\"_blank\" rel=\"noreferrer noopener\">User Experience<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Improving the different sections of the E-commerce store with the help of the Magento 2 extensions,&nbsp;contribute to a fully functional shopping platform.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the Use of Magento 2 Extensions?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every e-commerce business has different requirements. For instance, there are two e-commerce websites. The first business only focuses on the local area or I should say the business is only limited to one city. On the other hand, the second business focuses on the entire nation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both businesses will have a different requirement. The first business would not prefer to include \u201cProduct Tracking\u201d facility because the business is limited to only for a specific region. The second business, on the contrary, would definitely leverage \u201cProduct Tracking\u201d facility.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One platform cannot be capable to satisfy the requirements of all types of businesses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enter Magento extensions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/meetanshi.com\/blog\/best-magento-2-b2b-extensions\/\" data-type=\"link\" data-id=\"https:\/\/meetanshi.com\/blog\/best-magento-2-b2b-extensions\/\">Magento 2 extensions for B2B business owners<\/a> are powerful tools that enhance wholesale functionality, streamline bulk ordering, manage customer groups, set custom pricing, and improve overall business efficiency tailored to B2B needs. By installing Magento extensions, implement the required features based on your business.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However,&nbsp;installing Magento 2 module&nbsp;ain\u2019t simple. You need to follow the below steps to install an extension in Magento 2 store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Methods to install Magento 2 extension:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 1:<\/strong> <a href=\"https:\/\/meetanshi.com\/blog\/install-magento-2-extensions-using-the-web-setup-wizard\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Magento 2 extensions using the Web Setup Wizard<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 2:<\/strong> Install Magento 2 extension via composer from&nbsp;<a href=\"https:\/\/commercemarketplace.adobe.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento Marketplace<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. To Get the extension\u2019s Composer name and version from the Magento Marketplace, log in to&nbsp;<a href=\"https:\/\/commercemarketplace.adobe.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento Marketplace<\/a>&nbsp;with the username and password you used to purchase the extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. In the upper-right corner, click&nbsp;<strong>Your name<\/strong>&nbsp;&gt;&nbsp;<strong>My Profile<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Click&nbsp;<strong>My Purchases<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Find the extension you want to install and click&nbsp;<strong>Technical Details<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Alternatively, you can find the Composer name and version of&nbsp;<em>any<\/em>&nbsp;extension in the extension\u2019s \u201c<code>composer.json\"<\/code>&nbsp;file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Run the command \u2013&nbsp;<strong><code>composer require &lt;component-name&gt;<\/code><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">7. If you get and dependency error, follow the steps to&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/bypass-dependency-error-while-installing-extension-library-using-composer-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">Bypass Dependency Error While Installing an Extension\/Library Using Composer in Magento 2<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8. Enter your Access Keys.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/07\/public-private-keys.png\" alt=\"Get Public and Private Keys from Marketplace\" class=\"wp-image-9782\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">9. Wait for Composer to finish updating your project dependencies and make sure there aren\u2019t any errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">10. Login to your SSH and run below commands step by step:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php bin\/magento setup:upgrade<\/code><\/li>\n\n\n\n<li>For Magento version 2.0.x to 2.1.x \u2013 <code>php bin\/magento setup:static-content:deploy<\/code><\/li>\n\n\n\n<li>For Magento version 2.2.x &amp; above \u2013 <code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/li>\n\n\n\n<li><code>php bin\/magento cache:flush<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 3:<\/strong> Install Meetanshi\u2019s Magento 2 extensions via composer from the&nbsp;<a href=\"https:\/\/commercemarketplace.adobe.com\/partner\/Meetanshi\" target=\"_blank\" rel=\"noreferrer noopener\">Marketplace<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/github.com\/MeetanshiInc\" target=\"_blank\" rel=\"noreferrer noopener\">Github<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Create a folder structure in Magento root as app\/code\/Vendor\/ExtensionName<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Open&nbsp;<strong>registration.php<\/strong>&nbsp;file where Replace Vendor and ExtensionName from&nbsp;<strong>Vendor_ExtensionName.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/07\/registration-php.png\" alt=\"registration.php file\" class=\"wp-image-9784\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. Download and extract the zip folder and upload our extension files to the app\/code\/Vendor\/ExtensionName via FTP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Login to your SSH and run below commands step by step:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php bin\/magento setup:upgrade<\/code><\/li>\n\n\n\n<li>For Magento version 2.0.x to 2.1.x \u2013 <code>php bin\/magento setup:static-content:deploy<\/code><\/li>\n\n\n\n<li>For Magento version 2.2.x &amp; above \u2013 <code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/li>\n\n\n\n<li><code>php bin\/magento cache:flush<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 4:<\/strong> Install Magento 2 extension from the store, say, <a href=\"https:\/\/meetanshi.com\/magento-2-extensions.html\">Meetanshi<\/a>, manually from zip files<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Login to your SSH and run below commands step by step:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php bin\/magento setup:upgrade<\/code><\/li>\n\n\n\n<li>For Magento version 2.0.x to 2.1.x \u2013 <code>php bin\/magento setup:static-content:deploy<\/code><\/li>\n\n\n\n<li>For Magento version 2.2.x &amp; above \u2013 <code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/li>\n\n\n\n<li><code>php bin\/magento cache:flush<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Likewise you can also <a href=\"https:\/\/meetanshi.com\/blog\/how-to-install-extension-from-magento-marketplace\/\">install magento from marketplace<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, please share the solution with newcomers in the Magento community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to avoid the installation process and the issues you might face in it, you can simply opt for Meetanshi\u2019s&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-extension-installation-service.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento Extension Installation Service<\/a>&nbsp;that offers professional help to install Meetanshi\u2019s Magento 1 and Magento 2 Extensions without any errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento, by&nbsp;Adobe, is an open-source e-commerce platform that is developed in PHP. The CMS is a powerful platform to build E-commerce stores that are capable&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1132","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1132"}],"version-history":[{"count":6,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1132\/revisions"}],"predecessor-version":[{"id":16065,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1132\/revisions\/16065"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}