Home › Forums › General Issues › Re-using fields in different groups? Can they simply have the same name? › Reply To: Re-using fields in different groups? Can they simply have the same name?
I mostly understand this and it seems like an excellent solution.
There is an issue I’m running into however…
I should have mentioned the product types include both parent and child, and there can be instances where the product belongs to multiple product types.
It seems I can only get the conditional logic to work if the Product Type has only one option selected and the Product Type Taxonomy Field is set to a single value. Radio Button or Select, not checkbox or multi-select.
I don’t mind adding conditional logic for both a parent Product Type (A with ID 4) and a child Product Type (B with ID 5), but I can’t see how it would work…
Product Type (field) Selection is Greater than 4 and Less than 6 isn’t returning Product Type B when both B and A are selected.
Is there a way around this?
“You remove the taxonomy metabox in WP by setting the “meta_box_cb” argument to false.”
In the edit taxonomy page for the Product Type taxonomy I set Visibility->Meta Box to “No Meta Box”, but I don’t see any difference. Any clarification would be greatly appreciated.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!