cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Product Type which extends Grouped Product Type

Custom Product Type which extends Grouped Product Type

Hello,

 

I am trying to add a new Product Type which extends the Grouped Product Type. I am doing this because I need all the functionality that a Grouped Product has. The problem I face is that since I configured my new Product Type and I can see it on the back end, it has all the tabs that a simple product has. Although I extend the Grouped Product Type, in the back end I cannot see the tabs that the Grouped Product has in the "Add Product" section. Any guidance would be helpful. Thank you in advance.

 

Giannos.

1 REPLY 1

Re: Custom Product Type which extends Grouped Product Type

Are you reffering to the Associated producst tab? If so this is added via XML with a handle that is specific to that product type. You will need to add a similar update for your product type in your own admin layout xml file

 

app/design/adminhtml/default/default/layout/catalog.xml
   

<adminhtml_catalog_product_grouped>
        <reference name="product_tabs">
            <action method="addTab"><name>super</name><block>adminhtml/catalog_product_edit_tab_super_group</block></action>
        </reference>
    </adminhtml_catalog_product_grouped>



If your trying to copy grouped pretty much exactly using the grouped handle as an update like below may work best:

<adminhtml_catalog_product_newtypeidhere>

<update handle="adminhtml_catalog_product_grouped"/>

</adminhtml_catalog_product_newtypeidhere>

 

James Anelay - TheExtensionLab - Simple and efficient Magento extensions that do one thing and do it well. http://www.theextensionlab.com/