Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default How to enable category listing for selected pages only?

    I have been searching this forum all morning and I can't find the answer to my question

    In my store (www.shinypetstore.com), since I have very long category listing for my prudcuts, I want to disable the category listing on all pages except few page that I'll create for Dog and Cat products. On these specific pages, I also need to display a subset of categories and not all.

    Currently I can turn off category listing for all pages. But I want to be able to have them on for selected pages that my customers will be sent to select specific products.

    I appreciate your help.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How to enable category listing for selected pages only?

    I'm not sure if I understand exactly what you want to do, but here's a thread on turning sideboxes on and off depending on the page displayed:

    http://www.zen-cart.com/forum/showthread.php?t=44364

  3. #3
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default Re: How to enable category listing for selected pages only?

    Hi Steve,

    Thanks so much for reply. What I am trying to do here is only display category listing on selected pages. For example, I don't want category lisitng sidebox on any page but product pages.

    I went through the link you have provided. I believe that's what I need, but my challenge is how to use statement like this for category sidebox:

    if (!$this_is_home_page) {
    $show_featured= false;

    In other words, what I should use instead of show_page_name? Something like show_categories?

 

 

Similar Threads

  1. v151 Can I enable product html in listing pages?
    By rayo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Jul 2013, 10:09 AM
  2. enable right column only on product listing pages
    By warroyo90 in forum General Questions
    Replies: 1
    Last Post: 30 May 2012, 05:21 AM
  3. How to enable multiple products per row in category pages?
    By Player in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jul 2010, 05:19 AM
  4. change page image link and image only for selected product pages
    By mpjbay in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 9 Dec 2009, 05:39 AM
  5. how to insert a background colour for a selected category
    By jon22 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Dec 2009, 04:21 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