How to get sub attributes options of the item

Creative Solutions

Hello

Can you please let me know how we can get the sub-attributes options after select the parent option.

Ex:
I want to get these configure options after select the parent options example first I am choosing font type and after that i want get font color like mentioned in screenshot.

Thanks

Comments

6 comments

  • Comment author
    Creative Solutions

    Please give me the solution

    0
  • Comment author
    Marc Spencer

    Hi Creative Solutions,

    Have you taken a look at this part of our documentation on nested configurators?

     https://developer.threekit.com/reference/nested-configurators

    Let me know if that answers your question!

    Marc

    0
  • Comment author
    Creative Solutions
    • Edited

    OK let me try this is support only one level of nested configuration but we have 4 level nested configuration. 

    Any suggestions on it

    0
  • Comment author
    William Thompson

    Is it possible for you to carry those attributes up to top item so the logic will still execute rather than going through a nested configurator? There are ways to use custom code to traverse the nested hierarchy but not all of those options are fully public or documented at the moment so there may be risks. 

    Let me know and I can find some additional resources for you. 

    0
  • Comment author
    Creative Solutions
    • Edited

    Yes I am able to get one level of the nested configuration.

    Can we achieve nested configuration using treble hook (useNestedConfigurator) upto 4 level of nested config?

    0
  • Comment author
    William Thompson
    • Edited

    Yes, the Treble hook may be more effective in this use case - https://developer.threekit.com/reference/treble-hooks-use-nested-configurator

    Please let me know if this hook helps you. 

    0

Please sign in to leave a comment.