Mukesh
Mukesh

Reputation: 7798

how to create a right sidebar in magento which will be visible only on product view page

I am new to magento . I want to create a right sidebar on product view page such that this is visible only on product view page not on other pages.

How can I do this.Please Help. Thanks.

Upvotes: 1

Views: 3027

Answers (2)

d3vdpro
d3vdpro

Reputation: 2997

In magento almost every postion is handled by catalog.xml, (if you go the proper way) You can place any static block , in catalog.xml you will find the postioning of blocks for every page (be it category, product or home page) just you need to place the block in the right reference.

Upvotes: 0

pzirkind
pzirkind

Reputation: 2338

To have a right sidebar only on the product page you need to to a few things:

  • in the admin panel set the product pages to have 2 columns with right sidebar
  • create a block and template file (or just edit one that is available)
  • in catalog.xml (this is in your themes's layout folder) find the handle called and within that section find in there you can add your block / template file.

For more info on how you can create blocks and templates see here.

Upvotes: 2

Related Questions