In Magento, I’m trying to show a phtml a custom module in list.phtml.
My xml looks like this:
<catalog_category_default>
<reference name="content">
<block type="my_prevenda/prevendalist" name="prevenda" as="prevenda" template="prevenda/prevenda_list.phtml" />
</reference>
</catalog_category_default>
And I call like this:<?php echo $this->getChildHtml('prevenda') ?>
But this method only shou in view.phtml.
How do I appear in list.phtml?
Will remain with the product name
I Tks all!!
1 Answer