• Resolved kcodrin

    (@kcodrin)


    I am trying to create a product cataloging form (vehicle and car).

    I made a taxometry called “Cars” and inside there are the:
    Make > Models > Version > etc.

    `I am trying to create a product cataloging form (vehicle and car).

    I made a taxometry called “Cars” and inside there are the Brand> Models> Version> etc.

    For the Makes I used Taxometry terms – Level 1 and it works correctly, it shows me only the Makes.

    As for the models, I can’t get the “Direct children” of the previously chosen category to be displayed.

    For example, if I choose BMW> I should only see BMW Models.

    And so saying also for the other sub-children

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Please note that the correct term is “Taxonomy” not “Taxometry”. Regarding your question, I will have to ask additional information because I’m sure what you’re trying to achieve.

    The “Level 1” & “Direct Child” settings are field settings that let you choose which choices should be displayed to the user on the Post Edit screen.

    For example I’ve setup this Cars taxonomy: https://i.imgur.com/qI07T1i.png
    I’ve set the Taxonomy Terms field to display “Makes (Direct childs)”, and get this result: https://i.imgur.com/L8HRY7V.png

    I’m not sure to understand what you mean when you say “I can’t get the “Direct children” of the previously chosen category to be displayed”. If you want to display dynamic choices based on an another field value, when selected by the user on the Post Edit screen, then unfortunately this feature is not available right now.

    You can achieve it using custom code tho. I wrote a little script with video example on how to achieve it with Post Object fields. It can be adapted to Taxonomy Terms self field.

    If you’re asking for something else, can you please provide a simple example with a sceenshot of what you’re trying to achieve?

    Hope it helps!

    Have a nice day.

    Regards.

    Thread Starter kcodrin

    (@kcodrin)

    Good morning Konrad Chmielewski!
    Thank you so much for your reply!

    I try to explain myself better, i have one Taxonomy, https://imgur.com/a/MRuE3Ov.
    It is composed of Makes> Model> Versions> Code engine.

    Makes:
    I gave it Level 1 (https://imgur.com/0K1ye1t) it’s working properly because it just shows me only the Makes. (https://imgur.com/undefined)

    Model:
    For the Models I have adopted the same procedure, saying that they only have to show Level 2 (https://imgur.com/lIZRRAQ). But it shows me all the Models, not the specific Makes selection I chose in the previous step.

    If I can figure out how to do it for the Models, I can apply it to the Version and Code engines.

    I noticed this written “Direct child”, is it not possible to automatically say to show this section? https://imgur.com/undefined

    Have a nice day.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the details and screenshots. The behavior you’re describing seems to be normal.

    In your screenshot example, if you allow “All 2nd level Automobili” it will display the following terms:

    • - 500
    • - 147

    Because they are both 2nd level. See screenshot: https://i.imgur.com/HwcPICr.png

    The “Allow Terms” setting will display all terms & rules listed in the setting and is not be dependent on other fields settings.

    For example, if you only want to show - 500, you’ll have to choose it explicitly or use the Abarth (Direct Childs) rule (since -500 is the direct child of Abarth).

    If that still doesn’t answer your question, please explain what you want to achieve with the real Terms Names from your screenshot, like I did. For example:

    I want to only show - 500, not - 147

    Hope it helps!

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello @kcodrin,

    Any news? Did that answer your question?

    Regards.

    Thread Starter kcodrin

    (@kcodrin)

    Hi @hwk-fr

    I tried what you recommended but I have to do it for each car brand and so on for all the children below

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Yes, you can also use “Abarth (All Childs)” to show all childrens from that specific term.

    If you need more dynamic choices control, you can populate a custom ACF Select field programmatically, using the following tutorial.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Taxometry hierarchs’ is closed to new replies.