Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Plugin Contributions
    0

    Remove Document type from All Products listings

    A little background:
    My client wants to have "secret" categories for logged in members only, such as a model forum, event gallery, readers rides (www.kdnxmotorsport.com); the idea is to hide all document listings from everywhere except their own category pages, effectively only making one way to reach them, which only shows up when you log in (by using the page2/3/4 as the link-through pages for the hidden category, and putting an if statement over the more information box to test whether user is logged in and only display it if they are);

    I got them out of everywhere (thanks to lots of reading on the other threads for all sorts of code-related info) except from the All Products listiing, which is a link on the categories sidebox;

    Where is the database query made that I can modify to exclude product_type 3 for "all_products", so they do not show up under all products but still show up in their own respective categories of course (which makes turning them off not an option from / seems no admin setting is aimed at doing this? )

    Thanks in advance for any help!
    ddk

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove Document type from All Products listings

    You can look at tpl_categories.php, or better yet in the admin > tools > developers tools in the bottom laft box enter the term product_type select all catalog files in the drop down and search. You will get returned several files that have this term.

 

 

Similar Threads

  1. Replies: 33
    Last Post: 3 Mar 2013, 07:18 PM
  2. Hide upcoming products from all and category listings
    By jmsnyder23 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Mar 2012, 02:44 PM
  3. Replies: 0
    Last Post: 13 Apr 2010, 04:56 PM
  4. Sort By from All Products on Normal Product Listings
    By acmeinteractive in forum Basic Configuration
    Replies: 3
    Last Post: 29 Jan 2009, 11:34 PM
  5. How do I separate document-general items from any Product listings?
    By Ayperi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2008, 04:39 AM

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