• Resolved george1999

    (@george1999)


    Hello there,

    I’m trying to find the way to charge shipping fee once only per order for orders less the 125$ and not multiple times if a costumer buy products from 2 vendors and more

    can somebody please help me? here is an example: https://ibb.co/58c9WBz

    thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @george1999,

    If you want to show only one shipping when a customer adds products from multiple vendors to the cart, you can try using the below-mentioned code on your child theme’s functions.php file or using a code snippet plugin like this one.

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

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @george1999,

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

    Thread Starter george1999

    (@george1999)

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shipping Fee only per order and not per vendor’ is closed to new replies.