Home Forums Theme Support Dokan Add product to more than one category

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Roberto 4 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #34875

    Neen Monty
    Post count: 72

    Is it possible to add a product to more than one category in Dokan? If not, is this a feature that is coming soon?
    thanks much


    Post count: 4505

    Hello Neen,

    I am really sorry to say that, in dokan frontend there are no such kind of feature. It is need huge work to do for this feature and very complicated work. But we have this plan, hope we will implement this feature near future.

    Hope you understand me.

    Thank You ๐Ÿ™‚


    Neen Monty
    Post count: 72

    That's a shame. when I asked the same question in pre-sales, before I paid for Dokan, I was told it was a very simple fix to add to more than one category. I hope its something that will be looked at soon, I'm sure others would need this feature too.

    thanks much


    Post count: 59

    you need to work on these actions

    add_action('dokan_product_edit_before_main', 'monty_store_end_fields_edit',1);
    add_action('dokan_new_product_form', 'monty_store_end_fields_edit',1);

    and then put something like

    function fn_save(){
    $mytax_list = sanitize_text_field($_POST['_mytax'] );
    $mytax = explode(",", $mytax_list);
    wp_set_post_terms( $post_id, $mytax, 'mytax' , false );

    hooked to


    But you need to have it done by a dev.


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Add product to more than one category’ is closed to new replies.