How to get sub attributes options of the item
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
Please give me the solution
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
OK let me try this is support only one level of nested configuration but we have 4 level nested configuration.
Any suggestions on it
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.
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?
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.
Please sign in to leave a comment.