Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Feb 2008
    Location
    Antwerpen
    Posts
    51
    Plugin Contributions
    0

    Default Re: Exclude certain categories from new products module?

    I'm using version 1.3.9d, and this didn't work for me at all, in fact it even disabled showing all the new products,

  2. #12

    Default Re: Exclude certain categories from new products module?

    There is an add on called Hide Categories. That might work for you. We use it to disable categories that we provide direct links to for certain customers.
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

  3. #13
    Join Date
    Jun 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Exclude certain categories from new products module?

    Thanks a lot.. although i'm using 1.3.9h and the coding changed a little bit.. but this thread really help me to exclude some category from new product... this is what i am searching for a long time..

    thank you very much...

  4. #14
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Exclude certain categories from new products module?

    Quote Originally Posted by monkeytown View Post
    There is an add on called Hide Categories. That might work for you. We use it to disable categories that we provide direct links to for certain customers.
    I know this is an old thread, I just thought this was funny. I was trying to hide a category from something and thought to myself "why re-invent the wheels... let's see what others have come up with" and I saw your link to HideCategories. I thought, "hey, that's clever"... lol... then I realized I wrote HideCategories. *sigh*

  5. #15
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Exclude certain categories from new products module?

    Quote Originally Posted by s_mack View Post
    I know this is an old thread, I just thought this was funny. I was trying to hide a category from something and thought to myself "why re-invent the wheels... let's see what others have come up with" and I saw your link to HideCategories. I thought, "hey, that's clever"... lol... then I realized I wrote HideCategories. *sigh*
    Circle of life. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #16
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    114
    Plugin Contributions
    0

    Default Re: Exclude certain categories from new products module?

    I can't get this to work on the new_products.php file in 1.54. I've added the line:

    AND p.master_categories_id != 86

    twice where necessary and the products in that category still show up on my main page in the new products listing. HELP!

    Thanks :)

  7. #17
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    114
    Plugin Contributions
    0

    Default Re: Exclude certain categories from new products module?

    Could it maybe be because the category is hidden? This wasn't an issue in 1.39.

    Any thoughts at all? I can't find an answer in the forum after hours of searching and nothing I try works.

  8. #18
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Exclude certain categories from new products module?

    Quote Originally Posted by jmsnyder23 View Post
    I can't get this to work on the new_products.php file in 1.54. I've added the line:

    AND p.master_categories_id != 86

    twice where necessary and the products in that category still show up on my main page in the new products listing. HELP!

    Thanks :)
    You say above that using master_categories_id. This won't hide products that are linked to that category... If you want none of the product that appear in the category to be displayed then the query of product though needs to include a reference to the products_to_categories table and then to omit the products that are assigned to that category... (At the moment not doing the leg work to support this path if I'm barking up the wrong tree.)

    The next thing is which new product(s) area are you wanting to affect because I thought I recently had to modify at least two files to address all new_products. There is also/possibly code in an applicable header_php.php file or simlar inthe includes/modules/pages directory...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #19
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    114
    Plugin Contributions
    0

    Default Re: Exclude certain categories from new products module?

    Thanks! I figured it out. Apparently the template I'm using had a different new_products.php file that was overriding the default one. I didn't realize that. When I found it, I added the line there twice and it excluded the right category like I wanted!

  10. #20
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Exclude certain categories from new products module?

    Quote Originally Posted by jmsnyder23 View Post
    Thanks! I figured it out. Apparently the template I'm using had a different new_products.php file that was overriding the default one. I didn't realize that. When I found it, I added the line there twice and it excluded the right category like I wanted!
    Welcome to the template override system. That is/has been the way to manage changes to the store's operation for the most part. It also makes upgrading a bit easier to leave the base files unchanged and only edit the override files.

    Glad you were able to resolve the issue and letting others know that it was resolved.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to exclude certain products listed in New Products?
    By tifischer in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2014, 09:45 PM
  2. exclude certain products from free shipping
    By emtecmedia in forum Built-in Shipping and Payment Modules
    Replies: 24
    Last Post: 28 Sep 2010, 05:15 PM
  3. Exclude certain categories from spiders
    By Blake81 in forum General Questions
    Replies: 0
    Last Post: 10 Dec 2007, 12:31 PM
  4. Exclude certain products from Paypal option
    By AndyBB in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 30 Aug 2007, 08:09 PM
  5. only display new products from certain categories?
    By hawkeye in forum General Questions
    Replies: 1
    Last Post: 15 May 2007, 05:15 AM

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