Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you totally remove the Review function?


Jimster_s

Recommended Posts

Posted

Hi

 

i dont want to have the review function available in my shop. i want to remove the facility for customers to be able to write a review.

 

thanks

Posted

At this point, I'm a firm believer in not 'removing' ANYTHING. You may want it back later, so..do this:

 

Go to catalog/includes/column_right.php and look for this code:

 

 require(DIR_WS_BOXES . 'reviews.php');
 require(DIR_WS_BOXES . 'whats_new.php');

 

and put two forward slashes in front of that box to kill it, like this:

 

 //require(DIR_WS_BOXES . 'reviews.php');
 require(DIR_WS_BOXES . 'whats_new.php');

 

If there's no box to click on to write a review...well...they can't!

 

Andrea

Posted

thanks

 

wont that just remove the review box that is postitioned at the right? will the review button still be available on the products?

  • 2 months later...
Posted
thanks

 

wont that just remove the review box that is postitioned at the right? will the review button still be available on the products?

 

I believe you are correct.. The review button still appears once a product is viewed. Can anyone help with this?

Posted
I believe you are correct.. The review button still appears once a product is viewed. Can anyone help with this?

 

 

in product_info.php look for

 

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<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>
			<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>

 

edit out

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

 

 

it worked for me

Archived

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

×
×
  • Create New...