{"id":137,"date":"2020-02-28T15:59:54","date_gmt":"2020-02-28T15:59:54","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/knowledge-base\/magento-2-returns-and-exchanges-rma-v2-x-uninstalling"},"modified":"2021-07-23T06:10:51","modified_gmt":"2021-07-23T10:10:51","slug":"magento-2-returns-and-exchanges-rma-v2-x-uninstalling","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling","title":{"rendered":"Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling"},"content":{"rendered":"\n<p>Here you will learn how to easily remove <a href=\"\/magento-rma\">Magento 2 RMA<\/a> using two methods &#8211; via the Automated Removal Script or Composer.<\/p>\n\n\n\n<p><strong>You can choose one of the following two methods to remove the extension from 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-vivid-red-background-color has-background\" href=\"\/docs\/magento-rma\/v2\/uninstalling#automated-extension-removal-script\n\">1. Uninstall using Automated Script<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-vivid-cyan-blue-background-color has-background\" href=\"\/docs\/magento-rma\/v2\/uninstalling#remove-extension-via-the-composer\n\">2. Uninstall via the Composer<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"automated-extension-removal-script\">Automated Extension Removal Script<\/h2>\n\n\n\n<p>In order to remove this module by means of a script, please:<\/p>\n\n\n\n<p>1. Download the <a href=\"\/docs\/wp-content\/document-archive\/remove_plumrocket_extensions_for_magento2.zip\" rel=\"nofollow\">remove_plumrocket_extensions_for_magento2.zip<\/a> archive and unpack it.<\/p>\n\n\n\n<p>2. Upload it to the root directory of the site as it is shown below:<\/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\">Detailed description:<\/p>\n\n\n\n<ol><li>\n        <strong>It is your client side.<\/strong> You will see your module removal script file.<\/li><li>\n        <strong>This is your root directory on server side.<\/strong> This is where the file should be uploaded to.<\/li><li>\n        <strong>All the files must be uploaded to the server.<\/strong> Select the file and press the right button of your mouse.<\/li><li><strong>Select the &#8220;Upload&#8221; option in order to upload the file to the server.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" alt=\"1 uninstall magento 2 returns and exchanges rma extension.jpg\"\/><\/a><\/figure>\n\n\n\n<p>3.Please, enter the script path into your browser&#8217;s address bar and follow this address. The path format is:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-\">www.yourdomain.com\/remove_plumrocket_extensions_for_magento2.php<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;yourdomain&#8221; is the name of your domain.<\/p>\n\n\n\n<p>The screenshot below displays the page that will appear after you run the universal uninstall script:<\/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\">Detailed description:<\/p>\n\n\n\n<ol><li><strong>In the window opened, you will see the &#8220;Remove&#8221; button next to the &#8220;Plumrocket_returns_and_exchanges&#8221; title. To remove an extension &#8211; please press the button.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/2_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/2_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" alt=\"2 uninstall magento 2 returns and exchanges rma extension.jpg\"\/><\/a><\/figure>\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\">Detailed description:<\/p>\n\n\n\n<ol><li><strong>Once you see the &#8220;Extension removed successfully&#8221; message, this means that Magento 2 RMA Extension has been removed successfully.<\/strong><\/li><li><strong>After you finish, please make sure to remove the uninstallation script from your server.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/wp-content\/uploads\/2020\/05\/3_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/3_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg\" alt=\"3 uninstall magento 2 returns and exchanges rma extension.jpg\"\/><\/a><\/figure>\n\n\n\n<p>At this point, Magento 2 Returns and Exchanges (RMA) extension has been successfully removed from your server.<\/p>\n\n\n\n<h2 id=\"remove-extension-via-the-composer\">Remove Extension via the Composer<\/h2>\n\n\n\n<p><strong>In order to remove your Magento RMA extension via the Composer, open the console (SSH terminal) and follow commands:<\/strong><\/p>\n\n\n\n<p>1. In terminal, switch to your Magento 2 root directory using command:<\/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. Disable the extension:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">php bin\/magento module:disable Plumrocket_RMA<\/code><\/pre><\/div>\n\n\n\n<p>3. Remove the extension:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer remove plumrocket\/module-rma<\/code><\/pre><\/div>\n\n\n\n<p>4. Run the next three Magento 2 commands:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">php 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 uninstalled successfully. Similar message should be displayed in your console as displayed below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/05\/Installation_of_extension_via_composer_by_plumrocket_v3.jpg\" alt=\"Installation_of_extension_via_composer_by_plumrocket_v3\"\/><\/figure>\n\n\n\n<p>5. Below you will find the SQL command designed to delete all extension information from the database:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-sql\">DELETE FROM core_config_data WHERE `path` LIKE 'prrma\/%';\nDELETE FROM setup_module WHERE `module` = 'Plumrocket_RMA';\nDROP TABLE IF EXISTS `plumrocket_rma_text`;\nDROP TABLE IF EXISTS `plumrocket_rma_store`;\nDROP TABLE IF EXISTS `plumrocket_rma_reason`;\nDROP TABLE IF EXISTS `plumrocket_rma_condition`;\nDROP TABLE IF EXISTS `plumrocket_rma_resolution`;\nDROP TABLE IF EXISTS `plumrocket_rma_return_rule`;\nDROP TABLE IF EXISTS `plumrocket_rma_response_template`;\nDROP TABLE IF EXISTS `plumrocket_rma_returns_address`;\nDROP TABLE IF EXISTS `plumrocket_rma_returns_item`;\nDROP TABLE IF EXISTS `plumrocket_rma_returns_track`;\nDROP TABLE IF EXISTS `plumrocket_rma_returns_message`;<\/code><\/pre><\/div>\n\n\n\n<p>6. Clear Magento Cache:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">php bin\/magento cache:flush<\/code><\/pre><\/div>\n\n\n\n<p>At this point, Magento 2 Returns and Exchanges (RMA) extension has been successfully removed from your server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here you will learn how to easily remove Magento 2 RMA using two methods &#8211; via the Automated Removal Script or Composer. You can choose one of the following two methods to remove the extension from your Magento 2 store. Automated Extension Removal Script In order to remove this module by means of a script, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","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":[113],"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 Uninstall Magento 2  Returns and Exchanges (RMA) Extension v2.x Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Here you will learn how to easily remove Magento 2 RMA using two methods - via the Automated Removal Script or Composer. You can choose one of the\" \/>\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-rma\/v2\/uninstalling\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling\" \/>\n<meta property=\"og:description\" content=\"Here you will learn how to easily remove Magento 2 RMA using two methods - via the Automated Removal Script or Composer. You can choose one of the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-28T15:59:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-23T10:10:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.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 Uninstall Magento 2  Returns and Exchanges (RMA) Extension v2.x Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling - Plumrocket Documentation","description":"Here you will learn how to easily remove Magento 2 RMA using two methods - via the Automated Removal Script or Composer. You can choose one of the","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-rma\/v2\/uninstalling","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling","og_description":"Here you will learn how to easily remove Magento 2 RMA using two methods - via the Automated Removal Script or Composer. You can choose one of the","og_url":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling","og_site_name":"Plumrocket Documentation","article_published_time":"2020-02-28T15:59:54+00:00","article_modified_time":"2021-07-23T10:10:51+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.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-rma\/v2\/uninstalling#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/05\/1_uninstall_magento_2_returns_and_exchanges_rma_extension.jpg"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling","name":"Magento 2 Returns and Exchanges (RMA) v2.x Uninstalling - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling#primaryimage"},"datePublished":"2020-02-28T15:59:54+00:00","dateModified":"2021-07-23T10:10:51+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"description":"Here you will learn how to easily remove Magento 2 RMA using two methods - via the Automated Removal Script or Composer. You can choose one of the","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2\/uninstalling#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 RMA","item":"https:\/\/plumrocket.com\/magento-rma"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-rma"},{"@type":"ListItem","position":4,"name":"v2","item":"https:\/\/plumrocket.com\/docs\/magento-rma\/v2"},{"@type":"ListItem","position":5,"name":"Uninstalling"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72392a92ae750c66560be284502b6676?s=96&d=mm&r=g","caption":"Plumrocket"},"sameAs":["https:\/\/plumrocket.com\/docs"]}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/137"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":1,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":22498,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/137\/revisions\/22498"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}