I need to remove a block which is called in catalog.xml:
<PRODUCT_TYPE_simple translate="label" module="catalog">
<label>Catalog Product View (Simple)</label>
<reference name="product.info">
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
<block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
<label>Product Extra Info</label>
</block>
</block>
</reference>
</PRODUCT_TYPE_simple>
I tried it in my own local.xml with following code. But both don't work:
<?xml version="1.0" encoding="UTF-8"?>
<layout>
<PRODUCT_TYPE_simple>
<reference name="product.info">
<remove name="product.info.simple"/>
</reference>
</PRODUCT_TYPE_simple>
</layout>
<?xml version="1.0" encoding="UTF-8"?>
<layout>
<catalog_product_view>
<reference name="product.info">
<remove name="product.info.simple"/>
</reference>
</catalog_product_view>
</layout>
Thank you for your help!
Best Answer
You don't need to write layout xml for this as it is available
Simply set Display Products Availability in Stock on Storefront to No.