このチュートリアルに従ってブロックを作成しました:http ://www.gravitywell.co.uk/blog/post/how-to-creating-your-own-custom-block-in-magento 。次に、製品ビューページでmanufacturerblock.phtmlを使用する必要があります(製品の説明テキストの近くにあります)。
でlocal.xml
(下<reference name="header">
)私は追加しました:(編集:私は下<reference name="product.info">
でも試しました<catalog_product_view>
<block type="aimitmanufacturerblock/manufacturerblock" name="manufacturerblock" as="manufacturerblock" template="aimitmanufacturerblock/manufacturerblock.phtml" />
と私は私ので使用<?php echo $this->getChildHtml('manufacturerblock')?>
しましたview.phtml
。
しかし、phtmlは含まれていないようです。