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

Thread: Turning off infoboxes

  1. #1
    mcdanie1
    Guest


    Default Turning off infoboxes

    Does anyone know how to turn off the following infoboxes:

    We Also Recommend :
    and
    Customers who bought this product also purchased:

    I have gotten both of these to the point that they contain no information and as such are just headers across the bottom of the screen, but I would like to remove them completely and cannot find where to do it.

    Any help would be appreciated

    Mac

  2. #2
    aseto
    Guest


    Default

    look in the guide. if you edit column_left.php and column_right.php you can remove the infoboxes by commenting them out.

  3. #3
    mcdanie1
    Guest


    Default

    Thanks,
    But I am not talking about in the left or right columns as I have those disabled. These two headings are showing up in the categories at the bottm center just above the footer.

    Is there anyway to disable these two functions?

    Thanks,
    Mac

  4. #4
    osCMax Developer


    Turning off infoboxes


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    look in product_info.php and disable/comment the code that controls the 'also purchased' boxes.

  5. #5
    mcdanie1
    Guest


    Default

    I tried commenting out the following:

    <?php

    //Commented for x-sell
    // if ((USE_CACHE == 'true') && empty($SID)) {
    // echo tep_cache_also_purchased(3600);
    // } else {
    // include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
    // }
    // }
    //Added for x sell
    if ( (USE_CACHE == 'false') && !SID) {
    echo tep_cache_also_purchased(3600);
    include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);
    } else {
    include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);
    include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
    }
    }
    ?>

    Obviously the top portion inside is already commenetd out, but when I comment this block of PHP out, I get a parse error on the product page.

    Any thoughts?

    Mac

  6. #6
    mcdanie1
    Guest


    Default

    Sorry bout that last post you said .php I was looking at .tpl.php. lemme check the .php file

    BRB

    Mac

  7. #7
    mcdanie1
    Guest


    Default

    Hmm, now I'm a little confused. I did not find anything pertaining to additional boxes in the product_info.php file.

    What I have in that file is posted below;

    <?php
    /*
    $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $

    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    require('includes/application_top.php');

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

    $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
    $product_check = tep_db_fetch_array($product_check_query);

    $content = CONTENT_PRODUCT_INFO;
    $javascript = 'popup_window.js';

    require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE);

    require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>


    Am I missing something?

    I really appreciate your help!

    Mac

  8. #8
    osCMax Developer


    Turning off infoboxes


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    It looks like you are using MS2-MAX, in which case, you have posted in the incorrect forum. My advice was based on MS2. Anything pertaining to MS2-MAX should be posted in the MS2-MAX forum.

    Since you are using the MS2-MAX, that is the cross sell module and you can turn it off by removing cross-sold products in the admin.

  9. #9
    mcdanie1
    Guest


    Default

    I apologize for the incorrect forum.

    And yes you are correct that I am using MS2-MAX.

    However, I have removed all of the Cross-Associated Products and I am now getting two heading bars with the following text inside:

    We Also Recommend :
    and
    Customers who bought this product also purchased:

    You can see what I mean here:

    http://www.subtlechristianapparel.co...baedc402bd3313

    Any thoughts?

  10. #10
    red_fraggle
    Guest


    Default

    I beleive as Msasek has said in his previous post, you must remove X-sell products by uninstalling it. Removing the products that you cross sell only leaves you with empty X-sell boxes. Removing that mod will remove those boxes completely.

    Cliff....

Similar Threads

  1. turning off other images for this product
    By lgreitzer in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 10-09-2006, 06:29 PM
  2. Turning On/Off Infobox Admin???
    By ironjaxxx in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 10-03-2006, 04:43 PM
  3. Help! Host turning off allow_url_fopen
    By eyeofhorus in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 03-20-2005, 10:46 AM
  4. Turning notification off?
    By mshaffer in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-16-2004, 02:49 PM
  5. turning register_globals OFF
    By ippo in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-14-2003, 12:34 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
  •