Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

AddTab - Comments Tab
 
Dartalouf
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-07-04
Roubaix - France
 

Hi all ,

I am trying to add a tab on my product page , in fact I would like to add the reviews system in a tab. 
I already updated the catalog.xml and add a line

<action method="addTab" translate="title" module="catalog"><alias>Comments</alias><title>Comments</title><block>catalog
/product_view_attributes</block><template>catalog/product/view/comments.phtml</template></action>

In my comments.phtml file I have just one line :

<?php echo $this->getReviewsSummaryHtml($_productfalsetrue)?>

Wich (i think) should display my reviews block.

Unfortunately, it does not seems to work , because I have a error which say :

NoticeUndefined variable_product  in /var/www/Magento1.1/magento1.1.3/app/design/frontend/default/SexyAbsolue/template/catalog/product/view/comments.phtml on line 27

Is there a way to do that ?

Thanks in Advance ,
Dart

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dartalouf
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-07-04
Roubaix - France
 

Here it is : http://www.magentocommerce.com/boards/viewthread/22309/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top