Categories / Sub-Categories

This topic contains 4 replies, has 3 voices, and was last updated by  Paolo 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #493285

    Rudi Khoury
    Full Member
    Post count: 36

    Hi All,

    I am about to embark on my first geo project ! I’m rebuilding a custom built application.

    As you know data model / architecture decisions are critical so want to bounce an idea / see what others are doing & learn about best practice.

    I have a deep categorisation structure.

    For example: 25 main categories and each main cat has about 10 sub categories – an example might be:

    Accommodation
    – Hotel
    – Motel
    – etc.

    Is it best to have these all loaded as categories in that taxonomy

    or

    Is it better to have only the main categories loaded in the cat taxonomy and the sub categories loaded as “tags”

    I’m thinking from a customer / user experience – having massive drop downs to choose categories – or can GEO do nested drop downs – so choose main cat first then show sub categories?

    #493450

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the best way is to have them as cat/sub-cats. Even if the select field will result being a bit longer, it can be searched by typing the cat name and it is definitely a better way to structure your listings.

    I’m pushing with Stiofan to make him introduce back ajax chained conditional fields for cat – sub cats, but they have their down-sides too.

    Let us know how it goes.

    Thanks

    #493576

    Rudi Khoury
    Full Member
    Post count: 36

    Hi Paolo – Ajax chained fields would be awesome ! hope to hear good news soon 🙂

    #493590

    iinz
    Lifetime Member
    Post count: 59

    Thanks for raising this topic.

    Does this mean that currently I can not add on more filter in search next to Category as Sub-Category?

    I was looking for option of creating custom field “Sub Category” and was lost where should I put some database select query.

    #493620

    Paolo
    Site Admin
    Post count: 31211

    @iinz please always open your own topics. Even if the subject is the same.

    Categor y and sub-categories are WP taxonomies, so no it can’t be handled via custom fields.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount