How to remove right column from product details page in magento?
go to this directory app/design/frontend/base/default/layout/
open catalog.xml and search <label>Catalog Product View (Any)</label>
you can find this line around 180 line of this page
code will be like this
<catalog_product_view translate="label">
<label>Catalog Product View (Any)</label>
<!-- Mage_Catalog -->
<reference name="root">
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
</reference>
change 2columns-right.phtml to 1column.phtml
<catalog_product_view translate="label">
<label>Catalog Product View (Any)</label>
<!-- Mage_Catalog -->
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
Refresh the cache and check will work successfully :)
open catalog.xml and search <label>Catalog Product View (Any)</label>
you can find this line around 180 line of this page
code will be like this
<catalog_product_view translate="label">
<label>Catalog Product View (Any)</label>
<!-- Mage_Catalog -->
<reference name="root">
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
</reference>
change 2columns-right.phtml to 1column.phtml
<catalog_product_view translate="label">
<label>Catalog Product View (Any)</label>
<!-- Mage_Catalog -->
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
Refresh the cache and check will work successfully :)
thanks
ReplyDelete