Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Write Reviews but Leave "View" Reviews


Stealth1

Recommended Posts

Posted

I installed the complete review system contribution as it is much more user friendly than the stock OSC review system. Now I want to remove the "Reviews" box that appears on product_info pages where it says "Write a review on this product!" I know I can simply put // in front of the line for reviews.php in column_right.php but I still want to display the reviews box on the index.php page where it shows the image of items that have been reviewed before.

 

How can I do this, would I need to modify reviews.php itself or is there some other way to do this?

Posted

I installed the complete review system contribution as it is much more user friendly than the stock OSC review system. Now I want to remove the "Reviews" box that appears on product_info pages where it says "Write a review on this product!" I know I can simply put // in front of the line for reviews.php in column_right.php but I still want to display the reviews box on the index.php page where it shows the image of items that have been reviewed before.

 

How can I do this, would I need to modify reviews.php itself or is there some other way to do this?

 

 

The entry appears in product_info.php comment out the line in that file.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

The entry appears in product_info.php comment out the line in that file.

 

I commented out the line below but the box still showed up for "write a review" on the right column

 

echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, tep_get_all_get_params()) . '">' . tep_image_button('button_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a>';

  • 4 months later...
Posted

Hmmm ... I don't see how the user can get to write a review at all.

 

I have v2.2 RC2a. (Mostly vanilla install except for Security, Site monitor, Sitemap, EasyPopulate & SEO.

 

There is nothing in my product_info page that would seem to allow it.

 

r/

ed

Posted

Then you need to look in

 

/includes/column_right.php

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...