Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I get rid of the reviews button on the product pages?


onedownfiveup

Recommended Posts

  • 2 weeks later...

Reid,

In program \catalog\product_info.php look for

 

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

 

and remove it..

 

Remember to back up your programs or program before you do this...

 

I hope this helps

Roman

Link to comment
Share on other sites

Reid,

In program \catalog\product_info.php look for

 

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

 

and remove it..

 

Remember to back up your programs or program before you do this...

 

I hope this helps

Roman

 

Thanks, it worked.

Link to comment
Share on other sites

  • 2 weeks later...

Not really a good idea to delete it as you might in the future want to use it again.

I would suggest you comment it out

From

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

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...