Results 1 to 10 of 10
  1. #1

    Default Excluding sideboxes from product list pages

    I am trying to figure out how to exclude sideboxes from the product list pages:

    http://www.cooltechcentral.com/elect...tionaries-299/

    I tried adding product_listing, categories_index, and categories_row_index to the tpl_main_page.php file and had no effect. I originally used index but it excluded side boxes on other pages I wanted it on including the home page. At the very least I would like the right sideboxes to show up on the home page.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: Excluding sideboxes from product list pages

    Try this FAQ which disables the side column on a page-specific basis.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  3. #3

    Default Re: Excluding sideboxes from product list pages

    Quote Originally Posted by canopy View Post
    Try this FAQ which disables the side column on a page-specific basis.
    I am referencing that FAQ that is why I mentioned both tpl_main_page.php as well as the files I was trying to exclude.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  4. #4

    Default Re: Excluding sideboxes from product list pages

    I found this forum topic on Show/Hide sideboxes based on page

    http://www.zen-cart.com/forum/showth...t=44364&page=2

    NO to exclude the bestseller and specials sidebox from the section in question do I use $cPath?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  5. #5

    Default Re: Excluding sideboxes from product list pages

    I am not even sure I am using the right name for the section I am trying to block the sideboxes on. Is it product list category list, Cpath or something else?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  6. #6

    Default Re: Excluding sideboxes from product list pages

    I added this to the best_sellers.php from the includes/modules/sideboxes/MY_TEMPLATE/
    and at the bottom of the php file right before the last ?>
    $show_categories= false;

    if (isset($_GET['products_id']) and zen_products_id_valid($_GET['products_id'])) {
    if (!($_GET['main_page']==FILENAME_REVIEWS)) $show_review = true;
    }
    if ($show_review == true) {
    $categories_status = " and p2c.categories = > 0 ";}
    but the bestseller sidebox still shows up:

    http://www.cooltechcentral.com/elect...accessories-1/

    What am I doing wrong?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  7. #7

    Default Re: Excluding sideboxes from product list pages

    I made a mistake, I want to exclude sideboxes from these types of page as referenced in my original post:

    http://www.cooltechcentral.com/elect...tionaries-299/

    My bad, but the code still does not work.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  8. #8

    Default Re: Excluding sideboxes from product list pages

    Anyone have any suggestions?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  9. #9

    Default Re: Excluding sideboxes from product list pages

    Is it categories or Product listing? Again the reason I am asking is because I am not sure I am using the terminology right.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  10. #10

    Default Re: Excluding sideboxes from product list pages

    Sorry folks, I guess I should have paid more attention to the link canopy sent me because the answer to my problem was there all along.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

 

 

Similar Threads

  1. v151 Excluding a product type from search
    By DannyVarley in forum General Questions
    Replies: 3
    Last Post: 13 Jun 2013, 03:03 PM
  2. Excluding a product or category from best selling list
    By Moncia in forum Basic Configuration
    Replies: 33
    Last Post: 14 Nov 2010, 04:06 AM
  3. Removing Sideboxes from Specific Pages?
    By eyal8r in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Mar 2010, 10:52 PM
  4. Removing sideboxes from EZ pages
    By ctcentralinfo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jun 2008, 09:11 PM
  5. excluding categories from bestseller list
    By CreativeWitch in forum General Questions
    Replies: 0
    Last Post: 21 Feb 2007, 05:41 PM

Posting Permissions

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