In the custom template:
I added the following check to see if the user is logged in:
<?php if ($this->helper('customer/data')->isLoggedIn()) : ?>
In place of
<?php if ($this->getAllowWriteReviewFlag()): ?>
Posted by jitendra pradhan on Dec 29, 2011 in Magento
Tags: only registered user can add review to a product
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Notify me of new posts via email.
Create a free website or blog at WordPress.com.
Entries (RSS) and Comments (RSS)