Question

How to change 1 column on 3column for all the pages of product review?

image

Était-ce utile?

La solution

As per as,your screen shot,this is product details page not product review page. And it handler should be catalog_product_view.

So,you need change it template at handler catalog_product_view in catalog.xml(app/design/frontend/rwd/default/layout)

   <catalog_product_view translate="label">
 .......
    <reference name="root">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>

Autres conseils

Please go to catalog.xml located at app/design/frontend/rwd/default/layout/review.xml

Looking for

<review_product_view translate="label">
    <label>Catalog Product Review View</label>
    <reference name="root">
        <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
    </reference>
    <reference name="content">
        <block type="review/view" name="review_view"/>
    </reference>
</review_product_view>

Change template from page/2columns-right to page/1column

It will look like this

  <review_product_view translate="label">
    <label>Catalog Product Review View</label>
    <reference name="root">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>
    <reference name="content">
        <block type="review/view" name="review_view"/>
    </reference>
</review_product_view>

Hope this help!!!

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top