Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Magento Theme Development

You're reading from   Learning Magento Theme Development Create visually stunning and responsive themes to customize the appearance of your Magento store

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783280612
Length 182 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Richard Carter Richard Carter
Author Profile Icon Richard Carter
Richard Carter
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to Magento and Magento Themes FREE CHAPTER 2. Magento Theming Basics 3. Magento Templates 4. Magento Layout 5. Social Media and Magento 6. Advanced Magento Theming 7. Magento Theming for Mobile and Tablet Devices 8. Magento E-mail Templates Index

Removing unnecessary blocks from Magento's sidebar


As you can see from the previous screenshots of this chapter, there are quite a few blocks displayed in Magento's sidebars by default that you will not want to use. You can set these not to display in your theme customizing your theme's layout instructions.

Open your theme's local.xml file and apply the following XML:

<reference name="left">
<remove name="left.permanent.callout"/>
<remove name="right.newsletter"/>
<remove name="cart_sidebar"/>
<remove name="sale.reorder.sidebar"/>
</reference>

<reference name="right">
<remove name="right.permanent.callout"/>
<remove name="livechat.chat"/>
<remove name="right.poll"/>
<remove name="paypal.partner.right.logo"/>
<remove name="cart_sidebar"/>
<remove name="sale.reorder.sidebar"/>
<remove name="catalog.compare.sidebar"/>
</reference>

This removes commonly unused blocks in your Magento theme:

  • The cart box in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime