0

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

1 Answer 1

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
3
  • yes it is working. Thank you. Do you know how to hide that product collateral tab when there is no content? If you know kindly help please. Commented May 27, 2016 at 6:15
  • Please raise a new question, it's hard to show here in comments Commented 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. Commented May 27, 2016 at 6:24

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.