Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Review product removal


Recommended Posts

Hi folks


Sorry if this sounds rather a simple thing.


I have removed the review product box from the main page area, No Problems there.


I need to remove the reviews product link from the actual product. You know that graphic at the bottom of the product, this also has the add to cart link as well.


If someone can point me in the right direction I will be happy with oscommerce2.2ms2..


Many thanks



Link to comment
Share on other sites

Ok Guys its all solved, I just remooved the:


<?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>'; ?>



from the relevent file



Link to comment
Share on other sites

Which one is the relevant file? I'm a newbie and not sure in which php file to look for this line :-)


Thanks, old hippy! I've been wondering the same thing!!!


Thanks in advance for your help :-)



Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup :-)

Link to comment
Share on other sites



In the product_info.php (in your "catalog" or "shop" directory) file, around line 184, remove the following:


<td class="main"><a href="<?php echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td>


Or, "comment out" the echo for this by using "//" in front of "echo", like this:


<td class="main"><a href="<?php //echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php //echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td>


This will remove the "reviews" button from your product information page.

Good luck :).

Link to comment
Share on other sites

  • 4 weeks later...
  • 9 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...