jack75
Total Posts: 10
Joined: 2010-03-05
Hello,
can someone please tell me how to disable the shop by block in magento-1.6.1.0 , i tried editing view.phtml but did not work
much appreciated
Posted: February 25 2012
| top
markoshust
Total Posts: 122
Joined: 2007-09-05
Cleveland, OH
That’s not the correct way to do it. In your custom theming package, you need to define the name of the block in your local.xml file within an unsetChild method.
Something like this:
< reference name = "left" > < action method = "unsetChild" name = "name_of_what_you_want_to_unset" /> </ reference >
Signature
Mark Shust - Magento Developer (ZCE , MCD+ )
------------------------------------------------------------------
Blog & Extensions @ MarkShust.com
Posted: February 26 2012
| top
| # 2
SamSys
Total Posts: 8
Joined: 2011-07-12
chennai
HI,
This may help you
worked for me.
comment out the below lines in catalog.xml
<reference name="left">
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
</reference>
Posted: November 20 2012
| top
| # 3
markoshust
Total Posts: 122
Joined: 2007-09-05
Cleveland, OH
While the above post will work, if you ever upgrade your site, changes will be lost. Much better to make any xml updates in your theme’s local.xml file as this will remain upgrade-proof.
Signature
Mark Shust - Magento Developer (ZCE , MCD+ )
------------------------------------------------------------------
Blog & Extensions @ MarkShust.com
Posted: November 20 2012
| top
| # 4