X hide

Magento Private Sales v2.x Uninstalling

From Plumrocket Documentation

You are viewing:  Private-sale-icon-32.png  Private Sales Magento Extension v2.0

Contents

Disabling Extension

In order to enable/disable the Magento Private sales v2.0 Extension, you should enable/disable the splash page and home page it consists of. To access the splash page settings page, follow the steps described below:


Information Sign sm.png Step-by-Step action:
  1. Select "Plumrocket" in the top menu.
  2. Select "Private Sales".
  3. Select the tab "Splash Page".


Splash-disable-1.png


Information Sign sm.png Step-by-Step action:
  1. Select "General" in the left menu.
  2. Move to the tab "General".
  3. Option "Enable Splash Page": Set "Enabled" in order to activate the splash page or "Disabled" to disable it.
  4. Press the button "Save and Continue Edit" to save the changes.


Splash-disable-2.png


In order to enable/disable home page, follow the instructions below:


Information Sign sm.png Step-by-Step action:
  1. Select "Plumrocket" in the top menu.
  2. Select "Private Sales".
  3. Select the tab "Home Page".


Home-disable-1.png


Information Sign sm.png Step-by-Step action:
  1. Select "General Settings" in the left menu.
  2. Move to the tab "General Settings".
  3. Option "Enable Home Page": Set "Enabled" in order to enable the home page or "Disabled" to disable it.
  4. Press the button "Publish" to activate the changes.


Home-disable-2.png


Attention green.png Important Information:

Make sure to backup all your Magento files and folders before you proceed with uninstalling extension.

Removing Extension

Quick Extension Deactivation

In order to quickly deactivate the 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):

 /media/splashpage/
 /media/banners/
 /app/design/adminhtml/default/default/layout/privatesales.xml
 /app/design/adminhtml/default/default/template/privatesales/
 /app/design/frontend/default/default/layout/privatesales.xml
 /app/design/frontend/default/default/template/privatesales/
 /app/locale/en_US/Plumrocket_Privatesales.csv
 /app/code/local/Plumrocket/Privatesales/
 /app/etc/modules/Plumrocket_Privatesales.xml
 /skin/adminhtml/default/default/images/plumrocket/privatesales/
 /skin/adminhtml/default/default/css/plumrocket/privatesales/
 /skin/adminhtml/default/default/js/plumrocket/privatesales/
 /skin/frontend/default/default/images/plumrocket/privatesales/
 /skin/frontend/default/default/css/privatesales.css
 /skin/frontend/default/default/js/plumrocket/privatesales/


Note: After Magento Private Sales v2.4.0 is released - the files for deletion are as follows:

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

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

DROP TABLE IF EXISTS `privatesales_banners`;
DROP TABLE IF EXISTS `privatesales_images`;
DROP TABLE IF EXISTS `privatesales_maps`;
DROP TABLE IF EXISTS `privatesales_pages`;
DROP TABLE IF EXISTS `privatesales_sizes`;
DROP TABLE IF EXISTS `privatesales_preview_access`;
DROP TABLE IF EXISTS `privatesales_emailtemplates`;
DELETE FROM `cms_block` WHERE `identifier` IN ('terms_splashpage', 'menu_splashpage', 'bottom_banner_long', 'bottom_banner', 'invite_text', 'expired_boutique', 'expired_boutique_popup');
DELETE FROM core_config_data WHERE `path` LIKE 'privatesales/%';
DELETE FROM core_resource WHERE `code` = 'privatesales_setup';
 
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_is_storefront';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_is_link_to_product';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_boutique_category';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'privatesale_type';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'agree';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'email_image';


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:


Description.png 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:


Description.png 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

Private Sales Extension for Magento Private Sales Extension for Magento

Buy Magento Private Sales Extension on Plumrocket Store
Click below to check key features of this extension, view live demo and screenshots:

Navigation