- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2017
09:10 AM
02-20-2017
09:10 AM
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?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2017
04:14 PM
02-20-2017
04:14 PM
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
If this response solved your problem, click accept as solution to help others solve this issue
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2017
05:31 AM
05-18-2017
05:31 AM
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.