At least at the moment, I’m not sure how to go about that either, as CPTUI only handles the registration of content types, and doesn’t have a hand in how they’re used.
Is this vendor product edit page using what I’ll call the standard post editor screen, or is it a custom frontend solution with its own templates and UI for editing content? If the first one, then it may be possible to add this taxonomy to their post type as well, but I won’t make any promises there. If it’s the latter with their own UI, then that’s going to be a bigger overall lift as you would need to find a way to add UI to that edit screen and list available taxonomy terms, and then also process saving in some way based on chosen items.
The dokan seller dashboard is standard and has standard action hooks. Product edit page is one of the pages to add/edit the products by the seller.
Here is the link to all the seller dashboard hooks including product edit actions.
https://wedevs.com/docs/dokan/developer-documentation/seller-dashboard-action-hooks/
out of the hooks above we can either use
“dokan_product_edit_after_main”
or
dokan_product_edit_before_main
We need to display and process the inputs from taxonomies in a similar way you are doing in the product edit page of admin panel.
Hope this helps and I get some guidance from you.
CPTUI itself isn’t doing anything custom or unique for taxonomy management on given posts, that’s all WordPress core doing its thing. We just make sure the taxonomies are registered at the appropriate times.
That said, there’s not much I can help with or provide any sort of code for.
Thanks for response. I will try to figure out. Thanks