• Resolved cousinr

    (@cousinr)


    Hi,
    I used this code to add a new custom settings tab to the product edit page of woocommerce:

    add_filter('woocommerce_product_data_tabs', 'add_my_tab');
    function add_my_tab($tabs) {
        
        $tabs['my_woo'] = array(
            'label' => 'My tab',
            'target' => 'my_woo_options',
            'priority' => 90,
        );
        return $tabs;
    }

    How do I get it to show up on the product edit page in dokan?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Shafinoid

    (@shafinahmad01)

    Hello @cousinr

    Thank you for reaching us.

    As your query is regarding customization, I cannot provide any custom solution as per our support policy. However, you can have a look at the below file where you will find multiple do_actions to add your custom functionalities.

    File Path: /dokan-lite/templates/products/new-product-single.php

    Moreover, with WooCommerce you get functionalities organized via menus, but on the Vendor Dashboard, the product edit page contains sections to show the functionalities. I believe you make changes accordingly while customizing it for Dokan.

    Best Regards!

    Shafinoid

    (@shafinahmad01)

    Hello,
    I believe you are doing well,

    As you haven’t replied for a long, I’m considering that your query is being satisfied and I’m also resolving this topic.

    But feel free to create another one anytime.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Custom Settings Tab to edit product page’ is closed to new replies.