How do you change the order of the tabs on the product details page.
I created a new tab called 'Programs' by adding the below to my local.xml
<catalog_product_view translate="label">
<reference name="product.info">
<block type="catalog/product_view_description" name="product.programs" as="programs" template="catalog/product/view/programs.phtml">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>Programs</value></action>
</block>
</reference>
</catalog_product_view>
I aslo created a catalog/product/view/programs.phtml template in my theme.
In addition I created another tab called ingredients
Now I have 3 tabs on my product details page i.e. Description, Reviews, Programs & Ingredients.
How can I change the order to Programs Description Ingredients and Reviews?
Also, how can I link my the templates I created for these new tabs to a product attribute?
Best Answer
Use the before or after tag in your block. Here is an official guide to achieve that.
Example: