- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento. How to turn on and off Magento default blocks
April 6, 2015
This tutorial will show you how to turn off some of the default Magento blocks, such as welcome message, ‘My Cart’ block, ‘Related Products’ block, ‘Recently Added Item’ block, etc.
Magento. How to turn on and off Magento default blocks
-
To remove/edit a default welcome message text:
Navigate to System -> Configuration -> Design tab -> Header panel. Edit or delete the contents of ‘Welcome Text’ field:
-
To remove ‘My Cart’ sidebar block only (leave functionality available):
Navigate to System -> Configuration -> Checkout tab -> Shopping Cart Sidebar panel. Set ‘Display Shopping Cart Sidebar’ to ‘No’.
-
To disable all polls:
Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Poll’ to ‘Disable’.
-
To remove ‘Related Products’ block:
Open app/design/frontend/default/themeXXX/layout/catalog.xml file, comment out the following line:
-
To remove ‘Recently Added Item’ block:
Open app/design/frontend/base/default/template/checkout/cart/sidebar.phtml file, comment out the following lines:
__('Recently added item(s)') ?>
__('You have no items in your shopping cart.') ?>
-
To remove ‘Compare Products’ block:
Open the file app/design/frontend/default/themeXXX/layout/catalog.xml and comment out the following line:
-
To remove tag cloud and disable product page functionality:
Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Tag’ to ‘Disable’.
This is the end of the tutorial. Now you know how to remove default functionality of Magento website.
Feel free to check the detailed video tutorial below: