Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disabling Review Feature


lomoland

Recommended Posts

Hi all,

 

Is it possible to disable the Review feature which allows customers to write product reviews? My client is a little paranoid about rogue reviews making it onto the site.

 

Any advice would be appreciated,

 

Al.

Link to comment
Share on other sites

I too had no need to use the review feature. Rather than removing it is such you can just comment out the button so no one can ever see it to write/view a review.

 

In product info look for where the reviews are displayed, ie:

 

<td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

 

change to

 

<td class="main"><?php //echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

 

and you could delete this part as well.

 

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

 

Remember to backup before trying this - hope it helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...