0
votes

I have to create custom view.phtml to file with all the details which are working on product details.

I am able to get most of the details with the help of catalog.xml but having problem in getting product type data in custom view.phtml file.

Like: PRODUCT_TYPE_simple ,PRODUCT_TYPE_configurable,PRODUCT_TYPE_group means all product type.

I would to call these blocks also in custom .phtml file.

getChildHtml('product_type_data') ?> getChildHtml('extrahint') ?>

I have created one controller and one layout file and using my module handler I am calling all required .phtml files using catalog.xml as reference.

Please feel free to connect if more info required

1

1 Answers

1
votes

go to app\design\frontend\rwd\default\layout open catalog.xml if you are using default theme.

replace

<reference name="content">
            <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">

with your own file

<reference name="content">
            <block type="catalog/product_view" name="product.info" template="catalog/product/yourview.phtml">