Let's suppose that we want to add the code only in the product page. To do this, perform the following steps:
local.xmlfile and find the
<catalog_product_view>product view handle (for your reference, this handle is defined first inside the
catalog.xmlfile of the base theme in
app/design/frontend/base/default/layout) and inside it, in
<reference name="content">, add the following code that will declare a
core/templateblock to be displayed on the product page:
<reference name="content"> ...