January 8, 2011

Magento remove Paypal logo or other things from static page

A basic Magento template comes with default blocks you probably do not want. For my project at http://www.paardcare.nl (an equestrian horseriding e-commerce website) I had to remove all standard blocks.

To remove the Paypal logo from a static page (hompage) no programming is required. Simply login the admin panel and browse to:

CMS > Static Pages > Home Page > Design

In the layout update XML just paste within <reference> tags:
<reference name="left">
    <remove name="paypal.partner.right.logo"/>
</reference>

This trick works for the following as well:

  • Popular Tags block
  • Sidebar Cart block
  • Sidebar Compare block
  • Viewed Products block

Remove the blocks by putting them within the <reference> tag like:

<reference name="left">
    <remove name="paypal.partner.right.logo"/>
    <remove name="tags_popular"></remove>
    <remove name="cart_sidebar"></remove>
    <remove name="catalog.compare.sidebar"></remove>
    <remove name="right.reports.product.viewed"></remove>
    <remove name="sale.reorder.sidebar"></remove>
</reference>

1 comment:

  1. This is a great post. I like this topic.This site has lots of advantage. It helps me in many ways.Thanks for posting this again.
    magento development company in bangalore 

    ReplyDelete