2016-11-12 64 views

回答

0

您可以使用catalog.xml更改塊。您可以在catalog.xml中找到名稱爲「product.info.options.wrapper」的塊。

1

對於將塊移動到產品頁面, 必須將代碼放入catalog.xml中。

<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label"> 

例如:

<catalog_product_view translate="label"> 
    <reference name="content"> 
    <block type="core/template" name="product.info.options.wrapper" as="product_options_wrapper" template="{your_file_path}/wrapper.phtml" translate="label"> 
    </reference> 
</catalog_product_view>