I am trying to add button to view.php but i can't do this. I need any step by step tutorial how to do this, can anyone help me?
Thanks for reply i did something like this: i create my own template here:
I have here view.phtml and i have
and in this folder i have sub.phtml i want to see sub.phtml in view.phtml but while i do something like this:
<?php echo $this->getChildHtml('sub') ?>
It'snt visible on Product View so do you maybe know what I'm doing wrong?
EDIT: So i did create file in path:
app/design/frontend/module(namespace)/MyTheme/layout/sub.xml Inside this file i wrote something like that:
<?xml version="1.0"?> <layout version="0.1.0"> <catalog_product_view> <reference name="product.info"> <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml"> </reference> </catalog_product_view> </layout>
And now it should works?