Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

disable the shop by block in magento-1.6.1.0
 
jack75
Jr. Member
 
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

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

in templates folders

blank this file
catalog/layer/view.phtml

or check xml that defines this block and remove that xml part.

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
markoshust
Sr. Member
 
Avatar
Total Posts:  129
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>
 
Magento Community Magento Community
Magento Community
Magento Community
 
SamSys
Jr. Member
 
Avatar
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>

 
Magento Community Magento Community
Magento Community
Magento Community
 
markoshust
Sr. Member
 
Avatar
Total Posts:  129
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.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top