Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Reviews


Guest

Recommended Posts

I need to know how and if the reviews can be removed as I don't need reviews of bunches of flowers. Can anyone please advise me. Many Thanks in advance

Link to comment
Share on other sites

I need to know how and if the reviews can be removed as I don't need reviews of bunches of flowers. Can anyone please advise me. Many Thanks in advance

 

 

In catalog/product_info.php you can just disable the reviews button.

 

Change this:

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

 

To this:

//Commented out review button next line - not needed

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

 

If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show.

 

Also if you have an infobox for reviews, disable that.

Link to comment
Share on other sites

In catalog/product_info.php you can just disable the reviews button.

 

Change this:

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

 

To this:

//Commented out review button next line - not needed

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

 

If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show.

 

Also if you have an infobox for reviews, disable that.

 

This seems to work well! :) Do you know if this is totally allows you to remove the review related files as well?

I find the fun in everything.

Link to comment
Share on other sites

In catalog/product_info.php you can just disable the reviews button.

 

Change this:

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

 

To this:

//Commented out review button next line - not needed

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

 

If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show.

 

Also if you have an infobox for reviews, disable that.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...
Brilliant workaround. Thank you.

 

Hi! I tried to replace the script with the above, but now I'm getting this text in place of the reviews button:

 

//Commented out review button next line - not needed

 

Can somebody tell me what I'm doing wrong... here is my script:

 

//Commented out review button next line - not needed

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...