Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Magento : Beginner's Guide - Second Edition

You're reading from  Magento : Beginner's Guide - Second Edition

Product type Book
Published in Jun 2013
Publisher Packt
ISBN-13 9781782162704
Pages 320 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (19) Chapters

Magento Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Installation 2. General Configuration 3. Categories and Attributes 4. Simple Products 5. Beyond Adding Simple Products 6. Customer Relationships 7. Accepting Payments 8. Configuring Shipping 9. Customizing Your Store's Appearance 10. Fulfilling Orders 11. Maintaining and Administrating Your Store Pop Quiz Answers Index

Time for action – removing a block from the right column


Most of Magento's pages have either two or three columns, with the right column containing information such as the shopping cart contents and a product comparison block. We will be removing one of these; the technique shown can be used for removing most unwanted blocks from the frontend of your store.

  1. Turning on Template Path Hints and block names: As mentioned we'll pick removing the "product compare" block from the right column of Magento for our example:

    To find out where to look we have to know what kind of block we are dealing with. Template Path Hints can be turned on for that purpose, with the additional option to display "block names". In the following screenshot you can see how the frontend of your store will look after activating these:

  2. Finding the block and layout update file to edit: As you can see in the screenshot, the compare block is of type catalog/product_compare_sidebar. The first bit, catalog, is what we are interested...

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 $15.99/month. Cancel anytime}