- This topic has 7 replies, 2 voices, and was last updated 3 months, 3 weeks ago by .
I hope you are fine and doing great and thanks for the awesome product you developed 🙂
Well, I got a strange query from my one of client and I am stuck first time since using metabox io and could not find how to get out of this.
Here is full scene:
My custom post name is product: and my custom taxonomy name is item: well my taxonomy has terms say item1 ,item2 and item3
Now each item term can have term meta data like say
item1 has meta data as array( 'red', 'blue', 'green')
and item2 has meta data as array( 'red', 'orange', 'purple' )
and item3 has meta term data as array( 'orange', 'white', 'pink' )
I hope you got so far what I meant ..
Now I just want to show those colors array as multi select checkbox in my custom post product.
Say all three terms are being shown to choose from on product post. Once I choose item1 then its colors array( 'red', 'blue', 'green') should show checkbox list items to choose from as a metabox field.
In same way if I choose item2 then its array( 'red', 'orange', 'purple' ) should show a checkbox list field
In short the term I choose its term meta should be shown as checkbox list.
Can you please give me some code to make it work I could not make it work so far after wasting huge time on it 🙁
Waiting for the response
- You must be logged in to reply to this topic.