unsetChild method is not work in magento 1 layout -


i tried use code below no success:

<reference name="right">     <action method="unsetchild">         <name>product.info.sharing</name>     </action> </reference> 

image 1 : child block image 1 : child block

image 2 :for parent block image 2 :for parent block

turn on template path hints , see template file coming.

then can search in catalog.xml of theme , see name used in as. check parent block, use name in reference tag, , in tag use value in as tag of original block.

add local.xml in layout folder, try values

<catalog_product_view>   <reference name="product.info">             <action method="unsetchild"><name>sharing</name></action>   </reference> </catalog_product_view> 

clear cache.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -