We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Forum
Showing only subcategory in template for admin
I have a "set" named "Shirts" which then has subcategories like "Color" "Style"...
In my template I would like to choose from "Shirts/Color" but I cant get the categories to only show "Color" categories, instead it shows everything starting at "Shirts".
Can you tell me how to work with subcategories in a template.
Want to reply to this thread?
Login with Perch
What do you have in your template currently?
I tried:
but then the "Item" field is empty. So i am not sure how to set path for set=""
Does
set="shirts"
give you everything in the shirts category? I'm not sure it's possible to narrow down to just subcategories.yes.... like this:
Shirts Shirts>Color Shirts>Color>Red
so of course the list is really long since "red" is a subcategory of "color" which is a subcategory of "shirt"
So is there a better way for me to do this... should I create separate sets? If so how do I set this up in the template?
I don't think the checkbox display will serve you well there - how about switching to the default?
Yes, I just did that and it's much better in a select. Could you please log this as a possible upgrade to categories. That is the ability to display/choose values from specified subcategories and below.
Thanks so much.
I'll give it some thought.