Page 6 of 25 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 249
  1. #51
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Simple Category Tree

    Thanks, I'll take a look at the setup of that array and try massaging its contents.

  2. #52
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    Something like this: (all the categories will be listed in category_tree array, each category will have the elements as shown)

    category_tree
    (array)
    • 22 (array)
      • name (string) => test
      • parent_id (string) => 0
      • path (array)
        • 0 (string) => 22
      • sub_cats (array)
        • 0 (string) => 23
        • 1 (string) => 24
      • sub (string) => has_sub
      • cPath (string) => 22
      • deepest_cats (array)
        • 0 (string) => 23
        • 1 (string) => 26
        • 2 (string) => 27
    • 0 (array)
      • sub_cats (array)
        • 0 (string) => 22
        • 1 (string) => 8
        • 2 (string) => 6
        • 3 (string) => 21
        • 4 (string) => 11
        • 5 (string) => 9
        • 6 (string) => 10
        • 7 (string) => 16
        • 8 (string) => 17
        • 9 (string) => 18
        • 10 (string) => 15
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #53
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Simple Category Tree

    Thanks for the listing, that will make it quicker to start working with it.

  4. #54
    Join Date
    May 2005
    Location
    England
    Posts
    679
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    Hello there,

    This may be a stupid question, so bear with me if it is. I have CSS dropdown category dropdown installed, is it possible to integrate this method with the simple category tree? I was interested in the part on reducing load time on the server, as I have loads of categories.

    Thanks in advance,

    Heathenmagic

  5. #55
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    I believe that mod already does a pretty good job reducing the load. You may want to check that module's code and see how it queries the database.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #56
    Join Date
    Nov 2007
    Posts
    57
    Plugin Contributions
    2

    Default Re: Simple Category Tree

    Hmm... I've been trying with the retrieve_deepest_cats_array($categories_id) function but still no luck. Anyone made any progress?

  7. #57
    Join Date
    May 2006
    Posts
    80
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    No luck here

  8. #58
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    I'll upload a package here around, lets say, within 1 or 1 and a half week. If you cant wait, feel free to work on it though.

    Regards.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #59
    Join Date
    Nov 2007
    Posts
    57
    Plugin Contributions
    2

    Default Re: Simple Category Tree

    Thanks heaps! I'll be working on it but chances are I won't crack it... Will be looking forward to the upload as it is the final touch on my Zen Cart store!

    Quote Originally Posted by yellow1912 View Post
    I'll upload a package here around, lets say, within 1 or 1 and a half week. If you cant wait, feel free to work on it though.

    Regards.

  10. #60
    Join Date
    Nov 2007
    Posts
    57
    Plugin Contributions
    2

    Default I have done it... Somehow.

    Ok this is crazy... I completely screwed up my shop the other night by deleting a few files I hadn't backed up then uploaded what I had but that crashed my shop, so I started over (thankfully I am still building the shop so it is not live). However, I have been mucking around with a few files n making slight changes, and somehow I have managed to succeed with what we have all been stuggling to accomplish!

    I HAVE PRODUCTS FROM SUBCATEGORIES SHOWING UP IN MY PARENT CATEGORIES!!!!! WOOOHOOOOO!!!

    Anyway, when I get to the bottom of the subcategories (eg the category that holds the products), there is a double up so I just need to find the function that shows the products and see if I can delete just one of them.

    Any tips are helpful but I will post back here once I compare my file backups and see what exactly I did that made this fortunate accident!!! I have pretty much no clue with Zen language or any other coding (apart from HTML and grasping css now) so I have no idea how this managed to work!

    Will post as soon as I know what it is!

 

 
Page 6 of 25 FirstFirst ... 4567816 ... LastLast

Similar Threads

  1. Category Tree
    By fneergaard in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Aug 2010, 11:42 PM
  2. Redesigning Category Tree
    By moomo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Dec 2009, 01:53 PM
  3. Category tree
    By ner0tik in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Aug 2006, 02:19 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