しばらくの間正常に動作しているカスタムのマジェント テーマがあります。最近、クライアントはグループ化された製品を追加したいと考えており、収まるようにレイアウトを変更する必要があります。
ここに私の問題があります: テンプレート パス ヒントがオンになっているページを見ると、ほとんどすべてが次のようにカスタム テンプレートを使用しています。
frontend/[MYTEMPLATE]/default/template/catalog/product/view/attributes.phtml
frontend/[MYTEMPLATE]/default/template/catalog/product/price.phtml
frontend/[MYTEMPLATE]/default/template/catalog/product/view/addtocart.phtml
など...など...
ただし、グループ化された製品については、次のものが使用されます。
frontend/base/default/template/catalog/product/view/type/grouped.phtml
その grouped.phtml を同じ構造を使用してテンプレート フォルダーにコピーしましたが、読み込まれていません。
私のcatalog.xmlは次を示しています:
<PRODUCT_TYPE_grouped translate="label" module="catalog">
<label>Catalog Product View (Grouped)</label>
<reference name="product.info">
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
<block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
<label>Product Extra Info</label>
</block>
</block>
</reference>
</PRODUCT_TYPE_grouped>
キャッシュはオフになっています。
テンプレートフォルダーのgrouped.phtmlを使用していない理由について、ここで何かが欠けていると確信していますが、見つけられないようです。