Posted By

mg33dev on 02/28/15


Tagged

xml magento


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mg33dev


Remove Block from 'certain' pages


 / Published in: XML
 

URL: www.mediagenic.co.uk

Find the correct page layout you'd like to not show certain blocks.

// DESIGN/FRONTEND/DEFAULT/TEMPLATE/LAYOUT/PAGE.XML

  1. <reference name="right">
  2. <action method="unsetChild"><name>cart_sidebar</name></action>
  3. <action method="unsetChild"><name>right.reports.product.viewed</name></action>
  4. </reference>

Report this snippet  

You need to login to post a comment.