Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Zen Code (function) for Query Category Tree

    Hi All,

    Before I reinvent the wheel, I'm looking for the Zen function or code example that will return either the entire category tree or a branch given the cat id.

    What I am looking to do is being able to export chunks of my category structure to a csv file, make changes, then import back.

    I figured using built-in Zen function (with tweaks) to do the export, then import via phpmyadmin....

    Easy Populate exports too much data for me (100's of cats and 1000's of products).

    I won't be adding or deleting, just updating.

    Thanks!
    Experience is what you get when you don’t get what you want…

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Zen Code (function) for Query Category Tree

    see includes/classes/category_tree.php
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Zen Code (function) for Query Category Tree

    Thanks kuroi, I'll take a look!
    Experience is what you get when you don’t get what you want…

  4. #4
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Zen Code (function) for Query Category Tree

    Well,

    I poked around looking at category_tree.php, categories.php and tpl_categories.php, but can't seem to figure out the correct way to generate a branch based on a parent_id.

    A basic code example would be very helpful and appreciated!!

    Thanks
    Experience is what you get when you don’t get what you want…

 

 

Similar Threads

  1. xpanded category tree for drop down menu
    By first trading in forum Templates, Stylesheets, Page Layout
    Replies: 53
    Last Post: 25 Feb 2012, 10:16 AM
  2. function install() - code number query
    By dw08gm in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 9 Mar 2011, 12:21 AM
  3. Disable zen cart category tree menu
    By Mwafrika in forum General Questions
    Replies: 2
    Last Post: 3 Jul 2008, 04:16 PM
  4. Attributes Query Function?
    By phrogger in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Apr 2008, 02:29 PM
  5. Customize Website for Zen Cart Query
    By esugrue in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Nov 2007, 02:36 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