Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disabling reviews completely


ajcrewmisfit

Recommended Posts

Posted

Hi Everyone,

 

I wanted to know if anyone has disabled the reviews before. I was taking a look at STS, and I noticed that I can leave that section out. What about the buttons and everything else related to Reviews?

 

Is there an easier way than STS, or is that my best bet?

 

Regards,

James

Posted
Hi Everyone,

 

I wanted to know if anyone has disabled the reviews before. I was taking a look at STS, and I noticed that I can leave that section out. What about the buttons and everything else related to Reviews?

 

Is there an easier way than STS, or is that my best bet?

 

Regards,

James

 

 

Very easy.... what I did is go into:

 

yourcart/includes/column_right.php

 

and remove the following code:

 

require(DIR_WS_BOXES . 'reviews.php');

 

 

That's all there is to it.

  • 2 weeks later...
Posted
Very easy.... what I did is go into:

 

yourcart/includes/column_right.php

 

and remove the following code:

 

require(DIR_WS_BOXES . 'reviews.php');

That's all there is to it.

 

Unfortunately, that isn't all there is to it. Each item listing has a "reviews" button that needs to be removed. Fortunately, this is easy. Since I don't like to delete any of the original coding, I just commented out the code that makes up this reviews button. I found this on line 212 of the "product_info.php" file in the store's root directory. I added the PHP comment code ( /* and */ ) around the code that makes the button. See coding that includes the added comment code:

 

				<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>

 

Michael

Archived

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

×
×
  • Create New...