• Resolved norbi223

    (@norbi223)


    Hi there,

    Is there any possible way to make all vendor’s products in 1 shipping fee?

    For example, if I order an item from the Main store and an item from the Vendor store, there will be only 1 shipping fee, not 2 shipping fees.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @norbi223

    You can add the below-mentioned codes inside the child theme functions.php file to remove the split shipping from the WooCommerce cart and checkout page.

    #-- Remove Split Shipping | Dokan Lite --#
    function dokan_lite_remove_split_shipping() {
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_cart_shipping_packages', 'WeDevs\Dokan\Shipping\Hooks', 'split_shipping_packages', 10 );
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_checkout_create_order_shipping_item', 'WeDevs\Dokan\Shipping\Hooks', 'add_shipping_pack_meta', 10 );
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_shipping_package_name', 'WeDevs\Dokan\Shipping\Hooks', 'change_shipping_pack_name', 10 );
    }
    add_action( 'wp_head', 'dokan_lite_remove_split_shipping' );

    I hope the codes will help.

    Cheers!

    Thread Starter norbi223

    (@norbi223)

    Hi @tanvirh,

    Thank you for your answer i will want to buy the professional pack the code is same or different?

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @norbi223

    The code will be different for the Dokan premium version. However, according to the forum guidelines,?commercial products are not supported in these forums”.

    So, if you have any queries, please contact us through the official support channel.

    I hope this help.

    Thanks!

    Thread Starter norbi223

    (@norbi223)

    Thank you

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @norbi223

    Glad to know that the above-shared information was helpful to you!

    However, as the purpose of this topic has been served we are marking this as resolved. Feel free to open a new one for any further issues or queries.

    Cheers!

    this code not working ??

    qufaquick

    (@qufaquick)

    not working for me too

    qufaquick

    (@qufaquick)

    this code works well :

    #-- Remove Split Shipping | Dokan Lite --#
    function dokan_lite_remove_split_shipping() {
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_cart_shipping_packages', 'WeDevs\Dokan\Shipping\Hooks', 'split_shipping_packages', 10 );
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_checkout_create_order_shipping_item', 'WeDevs\Dokan\Shipping\Hooks', 'add_shipping_pack_meta', 10 );
    	dokan_remove_hook_for_anonymous_class( 'woocommerce_shipping_package_name', 'WeDevs\Dokan\Shipping\Hooks', 'change_shipping_pack_name', 10 );
    }
    add_action( 'init', 'dokan_lite_remove_split_shipping' );
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Shipping Fee’ is closed to new replies.