Thread: hideCategories

Page 23 of 49 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 487
  1. #221
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: hideCategories

    Nevermind - fixed that -

    One other place where my hidden category turns up is in the "Site Map" - wonder if that can be filtered out -

    any ideas?

    thanks

    gabstero

  2. #222
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: hideCategories

    Is there any way to get this to work with a header dropdown navigation? Site is http://www.mypandapaws.com/shop.

    I have the mod installed fine, but it apparently doesnt work with dropdowns? Please advise! THANK YOU!!!!!
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  3. #223
    Join Date
    Jul 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: hideCategories

    Hi and thank you for the link to the "hide categories" module. I downloaded the module and unzipped the files but I don't know how to install it so that it's available in my ZenCart. Can you please give me some advice on that.

  4. #224
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories | Hiding Categories in Site Map & Customers who bought... Sections

    Gotta love the thread search!!! Glad I decided to give searching this thread a shot.. (saved me from having to pay/beg someone to help me with this!!!) I know this post is almost 1.5 years old, but this is EXACTLY what I was looking for.. I'm using the Improved SiteMap Display mod, and I needed to make the hidden products disappear!!! So if the author of this post still hangs out here.. thank you thank you thank you!!!

    Quote Originally Posted by trebor79 View Post
    After installing the mod, I noticed that there were a few places where my hidden categories were still showing (Site Map, Customers who bought this product also purchased...).

    I haven't seen any posts for solutions to hiding in Site Map & Customers who bought... sections, so I thought I'd post my ideas. I use Zen-Cart 1.3.7 too, BTW.

    Here's how I stopped the categories from showing in Site Map & individual products from w/in a hidden category from being shown in Customers who bought...

    Customers who bought...
    go to: /includes/classes/db/mysql/define_queries.php
    and find the section that starts w/ DEFINE('SQL_ALSO_PURCHASED' and make it look like this:

    Code:
    DEFINE('SQL_ALSO_PURCHASED', "select p.products_id, p.products_image
                         from " . TABLE_ORDERS_PRODUCTS . " opa, " . TABLE_ORDERS_PRODUCTS . " opb, "
                                . TABLE_ORDERS . " o, " . TABLE_PRODUCTS . " p LEFT JOIN "
                    . TABLE_HIDE_CATEGORIES . " h ON (p.master_categories_id = h.categories_id)
                 where (h.visibility_status < 2 OR h.visibility_status IS NULL)
                         and opa.products_id = '%s'
                         and opa.orders_id = opb.orders_id
                         and opb.products_id != '%s'
                         and opb.products_id = p.products_id
                         and opb.orders_id = o.orders_id
                         and p.products_status = 1
                         group by p.products_id
                         order by o.date_purchased desc
                         limit " . MAX_DISPLAY_ALSO_PURCHASED);
    Now for the Site Map
    go to: /includes/classes/site_map.php
    On or around line 37 (depending if you've edited this file before) & make sure it looks like this:

    Code:
    $categories_query = "select c.categories_id, cd.categories_name, c.parent_id
        from " . TABLE_CATEGORIES . " c LEFT JOIN "
        . TABLE_HIDE_CATEGORIES . " h ON (c.categories_id = h.categories_id), "
        . TABLE_CATEGORIES_DESCRIPTION . " cd
        where (h.visibility_status < 2 OR h.visibility_status IS NULL)
        and c.categories_id = cd.categories_id
        and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'
        and c.categories_status != '0'
        order by c.parent_id, c.sort_order, cd.categories_name";
    These changes *should* work. Mileage may vary. Make a copy of these files & backup before editing them in case something looks screwy afterwords.

    I hope this is useful to someone out there.
    Last edited by DivaVocals; 12 Jul 2009 at 05:21 PM.

  5. #225
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: hideCategories | Hiding Categories in Site Map & Customers who bought... Sections

    Hi there,

    Is this mod compatible with BetterCategories? I downloaded the mod and it seems it will overwrite the tpl_categories file that the BetterCategories mod is using. Any way around this?

    Thx...

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

    Default Re: hideCategories | Hiding Categories in Site Map & Customers who bought... Sections

    Like any mod... see what is being changed and modify/merge your files accordingly. If you don't know how to do that or aren't comfortable with your php skills, then the answer is "no, it isn't compatible".

  7. #227
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: hideCategories | Hiding Categories in Site Map & Customers who bought... Sections

    Hi there,

    Thanks for the reply. Just wondering, how do I add padding/spacing between each link? #categoriesContent a doesnt seem to work...

    Thx...

  8. #228
    Join Date
    Sep 2009
    Posts
    78
    Plugin Contributions
    0

    bug Re: hideCategories

    Quote Originally Posted by gabstero View Post
    One other place where my hidden category turns up is in the "Site Map" - wonder if that can be filtered out - any ideas?
    Hear hear... Same problem here. Is there a quick fix for that?

  9. #229
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories

    Quote Originally Posted by scatzc View Post
    Hear hear... Same problem here. Is there a quick fix for that?
    The solution for this is posted TWICE in this thread..

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

    Default Re: hideCategories

    Quote Originally Posted by DivaVocals View Post
    The solution for this is posted TWICE in this thread..
    Thank you.

 

 
Page 23 of 49 FirstFirst ... 13212223242533 ... LastLast

Similar Threads

  1. how to get hidecategories an dual pricing to work
    By davidweaver88 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Jun 2012, 03:35 PM
  2. anyone using HideCategories in 1.3.9d??
    By redheads in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Jun 2010, 06:54 AM
  3. HideCategories problem...
    By ShadowAngel in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Nov 2009, 10:17 PM
  4. hideCategories Module
    By marcusimages in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Aug 2009, 06:31 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