I'm changing the <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
template using another handler:
<other_custom_handler>
<reference name="product_list">
<action method="setTemplate">
<template>custom/module/catalog/product/list.phtml</template>
</action>
</reference>
<remove name="advancedmenu.sidenav" />
</other_custom_handler>
other_custom_handler
is already a working handler, however, instead of copying catalog/product/list.phtml
to custom module template, I want it to be more dynamic using the said method. It's not working.
Update:
Here are the layout handles:
array(7) {
[0] => string(7) "default"
[1] => string(8) "cms_page"
[2] => string(17) "STORE_otherstore_default"
[3] => string(28) "THEME_frontend_othertheme_default"
[4] => string(15) "cms_index_index"
[5] => string(21) "page_two_columns_left"
[6] => string(19) "customer_logged_out"
}
I created a CMS page that displays all the products using catalog/product_list block. Products are displaying correctly, fyi.