I want to insert a cms block in a tab content. So I inserted the below code in catalog.xml:
<block type="cms/block" name="care" as="care" > 
 <action method="addToParentGroup"><group>detailed_info</group></action>
 <action method="setBlockId" translate="value"><block_id>Care</block_id></action>
</block>
But the block is not displayed in the tab content. Please help.
 asked May 27, 2016 at 5:56
 
 
 
 Ramya 
 
 1,0882 gold badges19 silver badges48 bronze badges
 
 1 Answer 1
Use below code to add CMS block as TAB :
<block type="cms/block" name="care" as="care" > 
 <action method="addToParentGroup"><group>detailed_info</group></action>
 <action method="setTitle" translate="value"><value>CMS block Title</value></action>
 <action method="setBlockId" translate="value"><block_id>Care</block_id></action>
</block>
 answered May 27, 2016 at 6:06
 
 
 
 Anil Suthar 
 
 4,7311 gold badge16 silver badges22 bronze badges
 
 - 
 yes it is working. Thank you. Do you know how to hide thatproduct collateraltab when there is no content? If you know kindly help please.Ramya– Ramya2016年05月27日 06:15:09 +00:00Commented May 27, 2016 at 6:15
- 
 Please raise a new question, it's hard to show here in commentsAnil Suthar– Anil Suthar2016年05月27日 06:22:58 +00:00Commented May 27, 2016 at 6:22
- 
 okay. If you know kinly help me. I will raise it as new qeustion. Thank you for your response. I have upvoted and accepted your answer.Ramya– Ramya2016年05月27日 06:24:39 +00:00Commented May 27, 2016 at 6:24
default