How can i insert a custom core/template between select and date type?

<reference name="product.info.options">

     <action method="addOptionRenderer" ><type>text</type><block>catalog/product_view_options_type_text</block><template>customoptions/options-type-text.phtml</template></action>

                <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>customoptions/options-type-select.phtml</template></action>

<-- custom core/template should be here -->

                <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>customoptions/options-type-date.phtml</template></action>

                <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>customoptions/options-type-file.phtml</template></action>

                <action method="addOptionRenderer"><type>default</type><block>catalog/product_view_options_type_default</block><template>customoptions/options-type-default.phtml</template></action>


1 Answer 1


the block added here cannot visible at frontend

for this you have to do one more step

first what you are doing is add block

<block type='core/template' name='myName' template="yourtemplatepath/templatenme.phtml"  >

and after that open below file app/design/frontend/Your Package/Your Theme/template/catalog/product/view/type/option/configurable.phtml

and add below line

<?php echo $this->getChildHtml('myName'); ?>

  • is there any other way to achieve it?
    – Tora
    Sep 2, 2016 at 5:30
  • No you cannot achieve directly you have to write getChildhtml in that file Sep 2, 2016 at 5:35
  • If above answer help you then mark as accepted Sep 2, 2016 at 5:47
  • You are always welcome :) Sep 2, 2016 at 6:04

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.