Automatically select the parent taxonomy in a hierarchial taxonomy when child is chosen
Hey everyone, not sure if this is do-able or not but we have built a custom module based on the products module Within the custom module we have added some custom classifications (hierarchial taxonomies). What we are trying to achieve is that when a child taxonomy is selected on the backend, we want to automatically select that taxons parents within that branch of the taxonomy. I have attatched two screen shots to simulate what we are trying to do. Any hints, ideas would be appreciated.
Hello Jt,
Unfortunately this is not implemented out of the box. Our HierarchicalTaxonField doesn't handle this logic. You would have to inherit this control and implement the parent checking in your custom class.
Apologies for the inconvenience.
It'd like to vote for a method in the API to handle this...