• Resolved vgnavada

    (@vgnavada)


    Hello,

    We are running a multi-vendor woo commerce powered by Dokan on:?https://oormaniangadi.com

    Observation 1:
    If 2 items are selected from the same vendor, It calculates the correct shipping charges as mentioned in the table.
    [Screenshot: https://prnt.sc/NP4PHrFmXLH_ ]

    Observation 2:
    If the 2 items are from 2 different vendors, It is showing shipping charges twice and this is causing lots of order loss as customers feel it is very costly.
    [Screenshot: https://prnt.sc/Wtp15KG-c9f7 ]

    Is there any way to fix this?
    Awaiting your response…

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md Fayeakuzzaman

    (@fayeakuzzaman)

    Hello @vgnavada,

    One major update of Dokan version 3.7.19 is the split shipping functionality in the Dokan Lite version. You will be able to use the split shipping functionality in the updated version of the Dokan Lite version.

    Regarding your request to disable the split shipping functionality, any default option is currently unavailable. However, I have a code snippet that you can apply to achieve this. Any default option is unavailable to remove the split shipping function. Kindly apply the following code snippet to the function.php file of your child’s theme.

    #-- 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' );

    Once you’ve added this code snippet, the split shipping functionality will be disabled after applying the shipping settings.

    I hope this information will be helpful.

    Thanks!

    Thread Starter vgnavada

    (@vgnavada)

    Hello @fayeakuzzaman

    Thank you for the response.

    We added the code and now it’s working fine ??.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin is calculating shipping charges multiple times!’ is closed to new replies.