• Resolved rohinideshmane

    (@rohinideshmane)


    Hi Team,

    How to establish a unified shipping fee for a combination of products acquired from different vendors within a single order.

    Thank you

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support sazdhossain

    (@sazdhossain)

    Hi @rohinideshmane,

    You can try the following code –

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

    This will apply only one shipping rate despite having products from multiple vendors in the cart.

    Cheers!

    Thread Starter rohinideshmane

    (@rohinideshmane)

    Hi Team,

    I have added above code in theme function.php file but it’s not working

    Thank you

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @rohinideshmane,

    Thanks for your feedback. Please note that the snippet shared above will work only with the Dokan Lite plugin’s updated versions. Kindly make sure that your plugin is up-do-date and then try it after disabling all other plugins. If you need further assistance, feel free to ask!

    Best regards,

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @rohinideshmane,

    Due to inactivity, this topic is now being closed. If you have any further concerns or queries, please don’t hesitate to start a new topic.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unified Shipping Charges’ is closed to new replies.