Skip to content

RWD theme integration

Vova Yatsyuk edited this page Mar 1, 2015 · 4 revisions
  1. Enable alsoviewed block in product additional information container from backend configuration.
  2. The block should appear below the RWD tabs.
  3. To move block inside of the tabs, you need to add the following layout xml update to the local.xml file of your theme:
   <catalog_product_view>
       <reference name="product.info.additional">
           <action method="unsetChild"><name>alsoviewed.collateral.wrapper</name></action>
       </reference>
       <reference name="product.info">
           <action method="append"><name>alsoviewed.collateral.wrapper</name></action>
       </reference>
       <reference name="alsoviewed.collateral.wrapper">
           <action method="addToParentGroup"><group>detailed_info</group></action>
           <action method="setTitle" translate="value"><value>You may also like</value></action>
       </reference>
   </catalog_product_view>
Clone this wiki locally