This topic contains 15 reply and 3 voices, and was last updated by Nayem 4 years, 4 months ago
Viewing 15 Posts - 1 through 15 (of 15 total)
Author Posts
June 19, 2015 at 2:03 pm 52450
Nayem I would not view shipping and withdraw the menu which is code for not view these two choices?
June 20, 2015 at 10:37 am 52507
towhid towhid

Hello,

I did not understand your question clearly. Can you please send me a screenshot with proper description.

Thanks

June 20, 2015 at 12:34 pm 52520
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

there is no problem … I would like to remove from the menu shipping and withdraw

June 20, 2015 at 1:00 pm 52522
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

error

June 20, 2015 at 1:01 pm 52523
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

I added 3 choices then as I removed the code:

unset ($ urls [‘withdraw’]);
unset ($ urls [‘shipping’]);

withdraw do not see more then ok
shipping continues to be something wrong in the code?

/**
 * Insert new URL's to the dashboard navigation bar
 *
 * @param  array  $urls 
 *
 * @return array  
 */
function prefix_dokan_add_seller_nav( $urls ) {
    
    $urls['profile'] = array(
        'title' => __( 'Profile Settings', 'dokan'),
        'icon'  => '<i class="fa fa-cog"></i>',
        'url'   => 'http://waytogoon.com/my-account/edit-address/fatturazione/'
    );
	$urls['account'] = array(
        'title' => __( 'Edit Account', 'dokan'),
        'icon'  => '<i class="fa fa-cog"></i>',
        'url'   => 'http://waytogoon.com/my-account/edit-account/'
    );
	$urls['tickets'] = array(
        'title' => __( 'Tickets Dashboard', 'dokan'),
        'icon'  => '<i class="fa fa-cog"></i>',
        'url'   => 'http://waytogoon.com/support-ticket-controlpanel/ticket/addticket'
    );
	
	  unset( $urls['withdraw'] );
	  unset( $urls['shipping'] );

    return $urls;
}

add_filter( 'dokan_get_dashboard_nav', 'prefix_dokan_add_seller_nav' );
June 20, 2015 at 2:35 pm 52532
towhid towhid

Hello,

To remove those menu please insert these code in your child theme function.php file-

add_filter( 'dokan_get_dashboard_nav', 'prefix_dokan_add_seller_nav' );
function prefix_dokan_add_seller_nav( $urls ) {
	  
	  unset( $urls['withdraw'] );

    return $urls;
}

add_filter( 'dokan_get_dashboard_settings_nav', 'remove_sub_tab' );

function remove_sub_tab($settings_sub){

    unset($settings_sub['shipping']);
    return $settings_sub;

}

Thanks

June 20, 2015 at 3:06 pm 52539
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

perfect thanks!
I have another problem … I created 2 custum field one to request the bill and the other for the vat in the checkout .. these 2 field the dokan not copy them into suborders, how can I do to get them back in the suborders? They are very important because the invoice is made by the sellers ..

June 20, 2015 at 3:13 pm 52541
towhid towhid

Hello,

You are talking about the customization of the plugin. But I am really sorry to say that we do not provide any customization services. It will be better if you hire a developer.

Thanks

June 20, 2015 at 3:15 pm 52542
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

all I need to know which is the file that handles the order and divides into suborders …
and the same thing for the file in the mail

June 20, 2015 at 3:20 pm 52544
towhid towhid

Hello,

Please open plugins/dokan-plugin/templates/orders/order-details.php. In this “order-details.php” is calculate order related funciton.

Thanks

June 20, 2015 at 3:25 pm 52545
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

This is the file that displays the sub orders, I need to know which is the file that creates the sub orders

June 20, 2015 at 3:28 pm 52546
towhid towhid

Hello,

The Developer is not available today. They will be available from tomorrow. After their coming back, I will let you know

Thanks

June 20, 2015 at 3:35 pm 52547
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

ok Thanks

June 21, 2015 at 9:23 am 52588
towhid towhid

Hello,

All order related functions are managed by order-functions.php.

Please navigate to plugins/dokan-plugin/includes/order-functions.php

Thanks

June 22, 2015 at 1:17 pm 52672
WAYTOGOON SL - CIF B76648989 WAYTOGOON SL - CIF B76648989

thanks !, which updates have been made in version 2.3?

June 22, 2015 at 1:43 pm 52674
Nayem Nayem This reply has been marked as private.
Viewing 15 Posts - 1 through 15 (of 15 total)