Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to disable the "reviews" button


sweechi

Recommended Posts

Files to edit:

- catalog/includes/column_right.php

- catalog/product_info.php

 

 

1. Open catalog/includes/column_right.php and change

  require(DIR_WS_BOXES . 'reviews.php');

to

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

 

2. Open catalog/product_info.php and change

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

to

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

 

3. Change

                <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

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

 

Very quick and simple.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...