osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Removing review

This is a discussion on Removing review within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I'm modifying MS2-MAX, and I'd like to remove product reviews from the application. I've already removed the box which ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-22-2004, 08:57 AM
Lurker
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reid
Default Removing review

Hi,
I'm modifying MS2-MAX, and I'd like to remove product reviews from the application. I've already removed the box which links to reviews, but there's still a button on the product page opposite the add to cart button. Any advice on how to do this?

Thanks,

Reid
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-13-2004, 11:10 PM
Lurker
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikezzz
Default

I would like to do the same, can anybody let us know how to do this !! - thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-14-2004, 05:16 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

In product_info.php (for MS1/2/3) or product_info.tpl.php (for MS2-MAX) look for:

Code:
<?php
    $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
    $reviews = tep_db_fetch_array($reviews_query);
    if ($reviews['count'] > 0) {
?>
      <tr>
        <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
and a bit further on:
Code:
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <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>
                <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
                <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
Edit/remove/comment to the above code...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-19-2004, 11:54 AM
Anonymous
Guest
 
Posts: n/a
Default

I did this and now am receiving the following error. Help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-19-2004, 11:56 AM
Anonymous
Guest
 
Posts: n/a
Default

Parse error: parse error in /home/sitesecu/public_html/bio-formllc/product_info.php on line 208
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-19-2004, 12:47 PM
Anonymous
Guest
 
Posts: n/a
Default

never mind. Solved it by copying an old version of the same page I had modified previously. And sorry for the anonymous posts - I signed up but my mail is down at the moment. Cheers, Bruce
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-19-2004, 11:11 PM
Anonymous
Guest
 
Posts: n/a
Default

I to had thi error - I removed on of the brackets on this line, then it worked fine - Thanks very much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Problems removing Review function InfernoX osCMax v2 Customization/Mods 5 10-27-2005 01:56 PM
How do I remove the review Button blum osCMax v1.7 Discussion 3 11-22-2004 05:06 PM
please help review not working noppie osCommerce 2.2 Modification Help 2 07-15-2003 07:25 PM


All times are GMT -8. The time now is 11:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax