• Resolved ryandesigned

    (@ryandesigned)


    Any way to default the vendor dashboard menu to go to Regular Old shipping page instead of zone wise shipping?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @ryandesigned,

    There is no default procedure to make changes. In order to make changes to the default feature and functionality offered by the plugin, you will need to make changes to the code. With proper custom coding, you may be able to achieve your requirements.

    Thanks ??

    Thread Starter ryandesigned

    (@ryandesigned)

    Can you point me in the right direction? Where can I edit or override the vendor dashboard menu items?

    Hello,

    The mentioned file location will be helpful for your requirement :
    /wp-content/plugins/dokan-lite/includes/template-tags.php

    Good Day.

    Thread Starter ryandesigned

    (@ryandesigned)

    Is it possible to override that file in a child theme?

    @ryandesigned,

    It is not possible to override template-tags.php file via your child-theme. However, if you want to re-order or change anything on the menu item then you can use these filters available on template-tags.phpdokan_get_dashboard_nav and dokan_get_dashboard_settings_nav. You can use add_filter and modify the menu item’s position, title, etc. Here is an example-

    function prefix_dokan_change_dashboard_nav( $urls ) {
    $urls['products']['title'] = 'Service';
    return $urls;
    }
    add_filter( 'dokan_get_dashboard_nav', 'prefix_dokan_change_dashboard_nav', 12 );

    I hope this will help you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Regular (old shipping)’ is closed to new replies.