{"id":26203,"date":"2022-11-01T04:27:12","date_gmt":"2022-11-01T08:27:12","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=26203"},"modified":"2022-11-01T09:56:09","modified_gmt":"2022-11-01T13:56:09","slug":"magento-2-lazy-load-v1-x-installation","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation","title":{"rendered":"Magento 2 Lazy Load v1.x Installation"},"content":{"rendered":"\n<p>Here you will learn how to correctly install the <a href=\"\/magento-lazy-load\">Magento 2 Lazy Load extension<\/a> using two methods &#8211; Installation via the FTP or Composer.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<p>First of all, make sure your system meets all the requirements necessary for the correct functioning of our General Data Protection Regulation Extension for Magento 2. For more details on system requirements, please read&nbsp;<a href=\"\/learn\/magento-system-requirements\" rel=\"nofollow\">Magento 2 system requirements<\/a>.<\/p>\n<\/div><\/div>\n\n\n\n<p><strong>You can choose one of the following two methods to install the extension on your Magento 2 store:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#extension-installation-via-composer\" style=\"background-color:#1fb8f5\"><strong>1. Installation via Composer<\/strong><\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#Extension_Installation_via_FTP\" style=\"background-color:#c9383d\"><strong>2. Installation via FTP<\/strong><\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"Extension_Installation_via_the_Composer\">Extension Installation via Composer<\/h2>\n\n\n\n<p>In order to install your Magento 2 Lazy Load extension via Composer, open the console (SSH terminal) and follow the steps:<\/p>\n\n\n\n<h3 id=\"h-step-1-switch-to-your-magento-2-root-directory-in-the-terminal\">Step 1. Switch to your Magento 2 root directory in the terminal<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<h3 id=\"h-step-2-add-the-plumrocket-repository-to-your-composer-configurations\">Step 2. Add the Plumrocket repository to your Composer configurations<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer config repositories.plumrocket composer https:\/\/plumrocket.com\/repo\/<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"h-step-3-download-plumrocket-extension-files\">Step 3. Download Plumrocket extension files<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer require plumrocket\/module-lazy-load<\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<p>After running this command, you may be prompted to enter the username and password (see the <a href=\"\/docs\/general\/composer-repository-keys\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">How to Get Plumrocket Composer Repository Keys<\/a> user guide).<\/p>\n<\/div><\/div>\n\n\n\n<h3 id=\"h-step-4-install-database-and-static-resources\">Step 4. Install database and static resources<\/h3>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be installed successfully. A similar message should be displayed in your console as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg\" alt=\"\" class=\"wp-image-14202\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong>&nbsp;&gt;&nbsp;<strong><a href=\"\/docs\/magento-lazy-load\/v1\/configuration\">Magento 2 Lazy Load v1.x Configuration<\/a><\/strong><\/p>\n\n\n\n<h2 id=\"Extension_Installation_via_FTP\">Extension Installation via FTP<\/h2>\n\n\n\n<h3 id=\"h-step-1-download-and-unzip-the-extension-files\">Step 1. Download and unzip the extension files<\/h3>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>Login to your Plumrocket store account: <a href=\"https:\/\/plumrocket.com\/\">https:\/\/plumrocket.com<\/a>.<\/li><li>Go to &#8220;My Account&#8221; in the menu (to open this page you have to log in first).<\/li><li>Select &#8220;My Downloads&#8221;.<\/li><li>Click the &#8220;Download&#8221; link to get the latest version of your extension.<\/li><\/ol>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Download_magento_extension_by_plumrocket.jpg\" alt=\"\"><\/figure>\n\n\n\n<h3 id=\"h-step-2-upload-files-to-the-server\">Step 2. Upload files to the server<\/h3>\n\n\n\n<p>To upload files to the server, you may use any FTP-client. To show you how it works we used the FileZilla FTP-client.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>This is your client side.&nbsp;You will see the unpacked catalog containing the General Data Protection Regulation Extension.<\/li><li>This is your root directory on the server side.&nbsp;This is where the files should be uploaded.<\/li><li>All the files have to be uploaded to the server.&nbsp;Select the files and press the right mouse button.<\/li><li>Select the &#8220;Upload&#8221; option for these files.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Magento_2_regular_installation_by_plumrocket_1-1.jpg\" alt=\"\"><\/figure>\n\n\n\n<h3 id=\"h-step-3-ssh-installation\">Step 3. SSH Installation<\/h3>\n\n\n\n<p>1. In the terminal, switch to your Magento 2 root directory:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<p>2. Update database and static resources:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be installed successfully. A similar message should be displayed in your console as displayed below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-2.jpg\" alt=\"\" class=\"wp-image-14187\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong>&nbsp;&gt;&nbsp;<strong><a href=\"\/docs\/magento-lazy-load\/v1\/configuration\">Magento 2 Lazy Load v1.x Configuration<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods &#8211; Installation via the FTP or Composer. Extension Installation via Composer In order to install your Magento 2 Lazy Load extension via Composer, open the console (SSH terminal) and follow the steps: Step 1. Switch to your Magento &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 Lazy Load v1.x Installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[362],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Magento 2  Lazy Load Extension v1.x Magento 2 Lazy Load v1.x Installation - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods - Installation via the FTP or Composer. Important\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Lazy Load v1.x Installation\" \/>\n<meta property=\"og:description\" content=\"Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods - Installation via the FTP or Composer. Important\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-01T08:27:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-01T13:56:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Magento 2  Lazy Load Extension v1.x Magento 2 Lazy Load v1.x Installation - Plumrocket Documentation","description":"Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods - Installation via the FTP or Composer. Important","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Lazy Load v1.x Installation","og_description":"Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods - Installation via the FTP or Composer. Important","og_url":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation","og_site_name":"Plumrocket Documentation","article_published_time":"2022-11-01T08:27:12+00:00","article_modified_time":"2022-11-01T13:56:09+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-1-1.jpg"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation","name":"Magento 2 Lazy Load v1.x Installation - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation#primaryimage"},"datePublished":"2022-11-01T08:27:12+00:00","dateModified":"2022-11-01T13:56:09+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"Here you will learn how to correctly install the Magento 2 Lazy Load extension using two methods - Installation via the FTP or Composer. Important","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1\/installation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Lazy Load","item":"https:\/\/plumrocket.com\/magento-lazy-load"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-lazy-load"},{"@type":"ListItem","position":4,"name":"v1","item":"https:\/\/plumrocket.com\/docs\/magento-lazy-load\/v1"},{"@type":"ListItem","position":5,"name":"Installation"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26203"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=26203"}],"version-history":[{"count":5,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26203\/revisions"}],"predecessor-version":[{"id":26223,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26203\/revisions\/26223"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=26203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=26203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=26203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}