Im looking to add a custom tab to the bottom of my existing tabs found on this page: Example

I don't mind the way i add it, the information that's going to be added there will be the same information throughout the whole website it will be a delivery-information tab which just states all the delivery information. I was thinking either making an attribute and controlling it that way or injecting it directly. I would love to hear anyone's advice and their help.

Kindest Regards


1 Answer 1


In your theme's local.xml file, add the following:

  <reference name="content">
    <block type="core/template" name="delivery_information" template="catalog/product/view/delivery_information.phtml">
      <action method="addToParentGroup"><group>detailed_info</group></action>
      <action method="setTitle" translate="value"><value>Delivery Information</value></action>

This creates a "Delivery Information" tab which calls a custom template (more on this below).

You'll then need to ensure that said custom template exists:


From there, you can freely modify the contents of this template; either call an attribute or CMS/Static Block (recommended if your Delivery Information isn't likely to change on a per-product basis), for example:

<?php echo = Mage::app()->getLayout()->createBlock('cms/block')->setBlockId('delivery_information'); ?>

Then create a CMS/Static Block with the Identifier as "delivery_information".

  • I dont have a local.xml file in my theme i've navigated to public_html/app/design/frontend/[package]/[theme]/layout
    – bLAZYY
    Apr 7, 2016 at 8:36
  • From what i can see the theme uses the catalog.xml file to pull in the tab? so i put it in there instead and its not worked
    – bLAZYY
    Apr 7, 2016 at 8:46
  • Create a local.xml file in your theme, and wrap the above code in <layout version="0.1.0"></layout> tags and it will work. Apr 7, 2016 at 8:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.