Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removal of reviews button


carpenoctem

Recommended Posts

Are you talking about removing the "reviews" box?

 

If so, you will find this code in the catalog/includes/column_right.php page:

 

require(DIR_WS_BOXES . 'reviews.php');

 

Comment it out like this:

 

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

Link to comment
Share on other sites

find the line that looks somewhat similar to:

 

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

 

Add a doubleslash in front of echo so that it looks like

 

                <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

well...

 

I guess you could also make that section look like..

                <td class="main"> </td>

 

Whatever your flavor..

later,

Colin

Link to comment
Share on other sites

  • 5 months later...

Archived

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

×
×
  • Create New...