Magento Private Sales & Flash Sales v3.x Uninstalling

Removing Extension

Quick Extension Deactivation

In order to quickly deactivate the Magento Private Sales & Flesh Sales module, you will have to rename this module’s config file

/app/etc/modules/Plumrocket_Private_Sales.xml

by changing its extension from “.xml” into something like “.xml_”

After you rename the file be sure to clear Magento cache.

Removing Magento Extension Manually

If you want to delete all the files and folders including all the extension-related data stored in Magento database, you will have to delete all the files from the list below (note, CODE_POOL can be either community or local folder):

/app/code/community/Plumrocket/Privatesales 
/app/etc/modules/Plumrocket_Privatesales.xml 
/app/design/frontend/base/default/layout/privatesales.xml 
/app/design/frontend/base/default/template/privatesales 
/app/locale/en_US/Plumrocket_Privatesales.csv 
/app/design/adminhtml/default/default/layout/privatesales.xml 
/app/design/adminhtml/default/default/template/privatesales 
/skin/frontend/base/default/css/plumrocket/privatesales 
/skin/frontend/base/default/js/plumrocket/privatesales 
/skin/frontend/base/default/images/plumrocket/privatesales 
/skin/frontend/ultimo/default/css/plumrocket/privatesales/privatesales-custom.css /skin/adminhtml/default/default/js/plumrocket/privatesales 
/skin/adminhtml/default/default/css/plumrocket/privatesales 
/skin/adminhtml/default/default/images/plumrocket/privatesales 
/media/splashpage

Below you will find the SQL command designed to delete both tables and attributes from the database:

DROP TABLE IF EXISTS `privatesales_images`;
DROP TABLE IF EXISTS `privatesales_product_indexer`;
DROP TABLE IF EXISTS `privatesales_emailtemplates`;
DROP TABLE IF EXISTS `privatesales_preview_access`;
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_date_start';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_date_end';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_email_image';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_event_image';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_display_type';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_before_event_start';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_event_end';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_private_event';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_event_landing';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_restrict_cgroup';
DELETE FROM core_config_data WHERE `path` LIKE 'privatesales/%';
DELETE FROM core_resource WHERE `code` = 'privatesales_setup';

Automated Extension Removal

In order to remove a module by means of a script follow the steps described below.

1. Download the remove_module_private_sales.zip archive and unzip it.

2. Upload it to the root directory of the site as shown below:

Detailed description:

  1. This is your client side. You will see your module removal script file.
  2. This is your root directory on server side. This is where the file should be uploaded.
  3. All the files must be uploaded to the server. Select the file and press the right mouse button.
  4. Select the “Upload” option in order to upload the file to the server.
Magento-Private-Sales-Uninstalling-script-1.png

3.You should enter the script path in your browser’s address bar and follow this address. The path format is:

www.yourdomain.com/remove_module_private_sales.php

where “yourdomain” is the name of your domain.

The screenshot below displays the page that will appear after you successfully delete a module:

Detailed description:

  1. Enter the path to execute module removal in you browser’s address bar.
  2. Successful message page.
Magento-Private-Sales-Uninstalling-script-2.png
Was this article helpful?