Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2011
    Posts
    106
    Plugin Contributions
    0

    Default Sidebox ONLY on Product Listing

    Hi All

    Could someone tell how I can have the sidebox (left to be specific) ONLY appear on my Product_listings?

    I do not wish have it on any page with sub-categories so ONLY on the listing of products.

    Thanks,
    Jay

  2. #2
    Join Date
    Jul 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: Sidebox ONLY on Product Listing

    I managed to sort it out...

    in 'common/tpl_main_page' find this line:

    Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      if (in_array($current_page_base,explode(",",'about_us,visit_us,customer_services,product_info')) ) {
        $flag_disable_left = true;
      }
    The section marked in red is the pages I don't want a sidebox to appear on. I am assuming, but have not tested, you could do this the other way i.e. $flag_disable_left = false; and put the pages you do want only to appear on.

 

 

Similar Threads

  1. v155 Filter: listing only one product - dont' redirect to product page ?
    By mesnitu in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 May 2016, 02:43 PM
  2. v150 Specials listing and sidebox will only show ONE product
    By DivaVocals in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 2 Apr 2012, 02:10 AM
  3. Avoiding product listing if there is only one product
    By AleCat83 in forum Customization from the Admin
    Replies: 4
    Last Post: 27 Apr 2010, 10:50 AM
  4. Featured Product Sidebox Image - Only used in sidebox?
    By adg_ in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Mar 2010, 07:38 AM
  5. Switch off "Show Room Only" in product listing only
    By angeli in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Apr 2009, 04:32 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR