cancel
Showing results for 
Search instead for 
Did you mean: 

Add extra details tabs to products

Add extra details tabs to products

is it possible to add another tab for information - in this case for clothing i would like to add washing instructions on an extra tab seperate from the description?

 

 

 

Tags (1)
2 REPLIES

Re: Add extra details tabs to products

The easiest way would be via layout XML. All you need to do is to create (or update) the file app/frontend/design/{packageName}/{themeName}/layout/local.xml, and put following content:

 

<?xml version="1.0"?>
<layout>
    <catalog_product_view>
        <reference name="product.info">
            <block type="catalog/product_view_attributes" name="clothing_info" template="catalog/product/view/attributes.phtml">
                <action method="addToParentGroup"><group>detailed_info</group></action>
                <action method="setTitle" translate="value"><value>Clothing Info</value></action>
            </block>
        </reference>
    </catalog_product_view>
</layout>

In this case, I assume that you've already created product attribute clothing_info.

 

 

 

 

 

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue

Re: Add extra details tabs to products

thanks, weirdly though i cannot add new attributes now?

 

I get the error Attribute with attribute "clothing_info" Code does not exist.