Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 7 of 7

Thread: Removing review

  1. #1
    reid
    Guest


    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

  2. #2
    mikezzz
    Guest


    Default

    I would like to do the same, can anybody let us know how to do this !! - thanks

  3. #3
    jpf
    Guest


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

  4. #4
    Anonymous
    Guest


    Default

    I did this and now am receiving the following error. Help!

  5. #5
    Anonymous
    Guest


    Default

    Parse error: parse error in /home/sitesecu/public_html/bio-formllc/product_info.php on line 208

  6. #6
    Anonymous
    Guest


    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

  7. #7
    Anonymous
    Guest


    Default

    I to had thi error - I removed on of the brackets on this line, then it worked fine - Thanks very much

Similar Threads

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

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •