Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    10
    Plugin Contributions
    0

    help question categories with product always how?

    suppose my categories struct as folling:
    A
    A's child B
    B's child F
    B's child G
    A's child C
    D
    D's child E


    ok, I have a problem. when I click {A's child B} ,I want to show all the product's
    belongs to it , how can I do? thx

    or Is there any idea when I click {A's child B} ,if the sub catergory is expanding,then collpase it, other while if is collapsing ,then expand it
    ?

    thx in advance!

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

    Default Re: categories with product always how?

    There cannot be any products belonging directly to B in your example, because B has subcategories. Categories hold subcats or products, not both.

    Your other request, for categories that expand when clicked and collapse when re-clicked, is not possible in standard Zen Cart. It could be done, but would require custom coding, possibly javascript.

  3. #3
    Join Date
    Apr 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: categories with product always how?

    Quote Originally Posted by gjh42 View Post
    There cannot be any products belonging directly to B in your example, because B has subcategories. Categories hold subcats or products, not both.

    Your other request, for categories that expand when clicked and collapse when re-clicked, is not possible in standard Zen Cart. It could be done, but would require custom coding, possibly javascript.

    is any one has the same problem and done?
    thx very much~

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

    Default Re: categories with product always how?

    custom coding is needed, but it has already been done:
    http://www.zen-cart.com/forum/showpo...1&postcount=91
    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

  5. #5
    Join Date
    Apr 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: categories with product always how?

    Quote Originally Posted by yellow1912 View Post
    custom coding is needed, but it has already been done:
    http://www.zen-cart.com/forum/showpo...1&postcount=91
    well,thx very much

 

 

Similar Threads

  1. v139h How always display some categories or products of my choice on all search results ?
    By triumph in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Oct 2012, 02:06 AM
  2. Categories Sidebox: How to always include subcategories?
    By lat9 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Mar 2010, 02:18 PM
  3. Always Free Shipping / Always Virtual Product -- How?
    By pseudonym in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 14 Mar 2009, 08:21 PM
  4. Categories side box to always show sub categories
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Mar 2008, 07:16 AM
  5. how to show Category and Sub-Categories always?
    By security in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Nov 2007, 04:23 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