Disabling Extension
In order to enable/disable the Magento Private sales Extension v2.0, 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:
Step-by-Step action:
- Select “Plumrocket” in the top menu.
- Select “Private Sales”.
- Select the tab “Splash Page”.
Step-by-Step action:
- Select “General” in the left menu.
- Move to the tab “General”.
- Option “Enable Splash Page”: Set “Enabled” in order to activate the splash page or “Disabled” to disable it.
- Press the button “Save and Continue Edit” to save the changes.
In order to enable/disable home page, follow the instructions below:
Step-by-Step action:
- Select “Plumrocket” in the top menu.
- Select “Private Sales”.
- Select the tab “Home Page”.
Step-by-Step action:
- Select “General Settings” in the left menu.
- Move to the tab “General Settings”.
- Option “Enable Home Page”: Set “Enabled” in order to enable the home page or “Disabled” to disable it.
- Press the button “Publish” to activate the changes.
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:
Detailed description:
- This is your client side. You will see your module removal script file.
- This is your root directory on server side. This is where the file should be uploaded.
- All the files must be uploaded to the server. Select the file and press the right mouse button.
- Select the “Upload” option in order to upload the file to the server.
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:
- Enter the path to execute module removal in you browser’s address bar.
- Successful message page.