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

Can’t Load Product Review Confirmation
 
jholtzman
Jr. Member
 
Total Posts:  3
Joined:  2012-10-01
 

Hello,

We developed a custom theme and, somehow, overridden the ability to display the “ Your review has been accepted for moderation.” message that appears when a guest submits a review.

I noticed one thread talked about it and suggested adding this on the product page:

<?php

$this
->getLayout()->getMessagesBlock()->setMessages(Mage::getSingleton('review/session')->getMessages(true));
echo 
$this->getMessagesBlock()->getGroupedHtml();
    
?>

Unfortunately no dice.

What block do I call to ensure, on my product page, that after a review is submitted, I can receive that message?

EDIT - I realize that our form submits the review fine but it posts to itself, the product page. In other words, it will post back to the
http://www.site.com/product_name.html page - the proper url for the product page, instead of the product review page such as:

http://www.site.com/review/product/list/id/125/category/3/

I’m guessing that has something to do with it. What would be the best way to ensure I post to the proper url or, even better, keep it posting to itself but using the block that displays that message? I scanned through the review template and couldn’t find what generates that message.

Thanks.

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